$(window).load(function() { $('#slider').nivoSlider({ controlNav:false, effect:'fade', //Specify sets like: 'fold,fade,sliceDown' animSpeed:500, //Slide transition speed captionOpacity:0.9, directionNav:true, //Next & Prev controlNav:true, // 1,2,3... navigation pauseTime: 3000, // How long each slide will show directionNavHide: true, pauseOnHover:true //Stop animation while hovering }); });