jQuery(function($){ //$.supersized({ slide_interval:8000,thumbnail_navigation:0,transition:0,transition_speed:1000,slide_links:false,slides:[{image: '{image: 'images/back/megi_007.jpg'}, {image: 'images/back/megi_015.jpg'}, {image: 'images/back/megi_003.jpg'}, {image: 'images/back/megi_006.jpg'}, {image: 'images/back/megi_016.jpg'}, {image: 'images/back/megi_013.jpg'}, {image: 'images/back/megi_011.jpg'}, {image: 'images/back/megi_010.jpg'}, {image: 'images/back/megi_001.jpg'}, {image: 'images/back/megi_014.jpg'}, {image: 'images/back/megi_008.jpg'}, {image: 'images/back/megi_002.jpg'}, {image: 'images/back/megi_009.jpg'}, {image: 'images/back/megi_012.jpg'}, {image: 'images/back/megi_005.jpg'}, {image: 'images/back/megi_004.jpg'}'}]}); $.supersized({ slide_interval:4000,thumbnail_navigation:0,transition:1,transition_speed:2000,slide_links:false,slides:[{image: 'images/back/megi_007.jpg'}, {image: 'images/back/megi_015.jpg'}, {image: 'images/back/megi_003.jpg'}, {image: 'images/back/megi_006.jpg'}, {image: 'images/back/megi_016.jpg'}, {image: 'images/back/megi_013.jpg'}, {image: 'images/back/megi_011.jpg'}, {image: 'images/back/megi_010.jpg'}, {image: 'images/back/megi_001.jpg'}, {image: 'images/back/megi_014.jpg'}, {image: 'images/back/megi_008.jpg'}, {image: 'images/back/megi_002.jpg'}, {image: 'images/back/megi_009.jpg'}, {image: 'images/back/megi_012.jpg'}, {image: 'images/back/megi_005.jpg'}, {image: 'images/back/megi_004.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) } }); });