jQuery(function($){ //$.supersized({ slide_interval:8000,thumbnail_navigation:0,transition:0,transition_speed:1000,slide_links:false,slides:[{image: '{image: 'images/back/megi_031.jpg'}, {image: 'images/back/megi_032.jpg'}, {image: 'images/back/megi_028.jpg'}, {image: 'images/back/megi_026.jpg'}, {image: 'images/back/megi_020.jpg'}, {image: 'images/back/megi_030.jpg'}, {image: 'images/back/megi_018.jpg'}, {image: 'images/back/megi_034.jpg'}, {image: 'images/back/megi_019.jpg'}, {image: 'images/back/megi_029.jpg'}, {image: 'images/back/megi_033.jpg'}, {image: 'images/back/megi_025.jpg'}, {image: 'images/back/megi_017.jpg'}, {image: 'images/back/megi_027.jpg'}'}]}); $.supersized({ slide_interval:4000,thumbnail_navigation:0,transition:1,transition_speed:2000,slide_links:false,slides:[{image: 'images/back/megi_031.jpg'}, {image: 'images/back/megi_032.jpg'}, {image: 'images/back/megi_028.jpg'}, {image: 'images/back/megi_026.jpg'}, {image: 'images/back/megi_020.jpg'}, {image: 'images/back/megi_030.jpg'}, {image: 'images/back/megi_018.jpg'}, {image: 'images/back/megi_034.jpg'}, {image: 'images/back/megi_019.jpg'}, {image: 'images/back/megi_029.jpg'}, {image: 'images/back/megi_033.jpg'}, {image: 'images/back/megi_025.jpg'}, {image: 'images/back/megi_017.jpg'}, {image: 'images/back/megi_027.jpg'}]}); }); $(function() { $('.lightbox').lightbox(); //$('#main').click(function() {$('#content').animate({Height: '50px',} 1000)}); $('#main').delay(400).animate({height: '345px',}, 1000); $('#text').delay(1200).fadeIn(500); $('#main').click(function() { if ($('#main').height() == 5) {$('#main').animate({height: '345px',}, 1000); $('#text').delay(800).fadeIn(500) } else {$('#text').fadeOut(500); $('#main').delay(200).animate({height: '5px',}, 1000) } }); });