Subversion Repositories My Stuff

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
17 kardasa 1
$(document).ready(function(){
2
        $('.subgallery').tooltip({
3
                        effect: 'slide',
4
                        tipClass : 'gallerytooltip',
5
                        opacity : 0.9
6
                }).dynamic({ bottom: { direction: 'down', bounce: true } });
7
 
8
        $('.subgallery img').reflect({height: 0.3, opacity: 0.7});
9
 
10
        $('.subgallery').hover(function() {
11
                    $(this).find('img:first').reflect({height: 0.3, opacity: 1});
12
                    $(this).find('img:first').addClass('hovered');
13
                }, function() {
14
                        $(this).find('img:first').reflect({height: 0.3, opacity: 0.7});
15
                        $(this).find('img:first').removeClass('hovered');
16
                });
17
 
18
        $('div.scrollable_gallery').scrollable({
19
                mousewheel: true,
20
                keyboard: true,
21
                next: ".next",
22
                prev: ".prev",
23
                speed: 500
24
        });
25
});