EnglishWOWSlider  Deutschhtml slideshow  Españolslide imagenes  Françaisdiaporama javascript  ItalianoImmagini Galleria   汉语网络幻灯片: 效果的幻灯片  Português brasileiroGaleria De Imagens  Русскийслайдер изображений, слайдшоу, CSS слайдер  Svenska Bild Galleri  日本語画像のスライダー&ギャラリー  NederlandsAfbeeldingen Caroussel 

Recent Demos

 Is it possible to stop slider photo on the last image instead of the first one?

Q: Is it possible to get the slider to finish on the last image when on auto play single loop and not return to the first image.

That would make this product an excellent alternative to flash for intro pages.

Thanks

A: Yes, it's possible.

Open "script.js" file in any text editor (for example, Notepad), find last line, for example:

jQuery("#wowslider-container1").wowslider({effect:"basic_linear",prev:"",next:"",duration:13*100,delay:25*100,outWidth:480,outHeight:360,width:480,height:360,autoPlay:true,stopOnHover:false,loop:true,bullets:true,caption:true,controls:true});



and add "stopOn: N" (where N - number of the slide you want the slider to stop on ) at the end of this line (use "-1" value to stop on last image). For example:

jQuery("#wowslider-container1").wowslider({effect:"basic_linear",prev:"",next:"",duration:13*100,delay:25*100,outWidth:480,outHeight:360,width:480,height:360,autoPlay:true,stopOnHover:false,loop:true,bullets:true,caption:true,controls:true,stopOn:-1});



That's all.