jQuery(function($){ $.supersized({ slide_interval:5000,thumbnail_navigation:0,transition:1,transition_speed:2000,slide_links:false,slides:[{image: 'images/back/fondo.jpg'}]}); }); $(function() { $('.lightbox').lightbox(); $('.fstHover').mouseover(function() {var src = $(this).attr("src").match(/[^\.]+/) + "over.png"; $(this).attr("src", src); }).mouseout(function() { var src = $(this).attr("src").replace("over.png", ".png"); $(this).attr("src", src); }); $('.slider2').bxSlider({ slideWidth: 320, minSlides: 2, maxSlides: 3, moveSlides: 1, slideMargin: 10 }); /*var images = ['banner_1.jpg', 'banner_2.jpg', 'banner_3.jpg', 'banner_4.jpg', 'banner_5.jpg']; $('#headerimg').css({'background-image': 'url(images/structure/' + images[Math.floor(Math.random() * images.length)] + ')'}); */ $('#slideshow').fadeSlideShow({ width: 1024, // default width of the slideshow height: 242, // default height of the slideshow speed: 1000, // default animation transition speed interval: 3000, // default interval between image change PlayPauseElement: false, // default css id for the play / pause element NextElement: false, // default id for next button PrevElement: false, // default id for prev button ListElement: false, // default id for image / content controll list addListToId: false, // add the controll list to special id in your code - default false allowKeyboardCtrl: true, // allow keyboard controlls left / right / space autoplay: true // autoplay the slideshow); }); });