Subversion Repositories My Stuff

Rev

Rev 15 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

$(document).ready(function() {
        $("a.group").fancybox({
                'speedIn':      300,
                'speedOut':     300,
                'overlayColor': '#000',
                'overlayOpacity': 0.7,'centerOnScroll': true,
                'padding': 0,
                'href': $(this).attr('href'),
                'titlePosition': 'over',
                'transitionIn':  'elastic',
                'transitionOut': 'elastic',
                'titleShow': false
        });
        $("a.pages").fancybox({
                'width' : '75%',
                'height' : '75%',
                'autoScale' : false,
                'padding': 0,
                'overlayOpacity': 0.7,'centerOnScroll': true,
                'transitionIn' : 'elastic',
                'transitionOut' : 'elastic',
                'type' : 'iframe',
                'href': $(this).attr('href'),
                'titleShow': false
        });
       
        $("a.specification").fancybox({
                'scrolling'             : 'no',
                'titleShow'             : false,
                'overlayOpacity': 0.7,'centerOnScroll': true,
                'padding' : 0,
                'transitionIn' : 'elastic',
                'transitionOut' : 'elastic'
        }).tooltip({
                effect: 'slide',
                tipClass : 'imgtooltip',
                opacity : 0.7
        }).dynamic({ bottom: { direction: 'down', bounce: true } });
});