I'd like to pause the Nivo slider for 5 seconds before it runs but show the first image. So I'll need to add some code in the property afterLoad
I believe.
I've tried setTimout
before running the slider code be it doesn't give the result I'd like.
This is my current code:
$(window).load(function(){
$('#slider').nivoSlider({
animSpeed: 500,
pauseTime: 4000,
effect : 'boxRain',
directionNav : false,
controlNav: false,
afterLoad: function(){
//$('#slider').data('nivoslider').stop();
}
});
});