WB8 Nivo Slider => Stop the Slider after one loop

Do you want to share WYSIWYG Web Builder tips, tricks, tutorials or useful HTML code? You can post it here...
(no questions or problems please, this section is not monitored by support).
Forum rules
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.

PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
User avatar
Pascal-Gilles
 
 
Posts: 83
Joined: Tue Apr 05, 2011 8:06 pm
Location: France
Contact:

WB8 Nivo Slider => Stop the Slider after one loop

Post by Pascal-Gilles »

Hello,

Nivo Slider is displaying each slide once and goes back to the first one, and so on... It is however possible to modify this behaviour (and very easily):

Use the following options in the parameter settings*

To play each slide once:

Code: Select all

lastSlide: function(){$('#NivoSliderID').data('nivoslider').stop();}
To show every slide, go back to the first one, then stop:

Code: Select all

slideshowEnd: function(){$('#NivoSliderID').data('nivo:vars').stop = true;}
Of course: replace NivoSliderID with the real ID of the Nivo Slider in the Object Manager.

If you want to know more tips about Nivo Slider:
viewtopic.php?f=26&t=46210

(*) REMINDER: here's how to use these options (don't forget to put a "," between each option):
Nivo Slider Settings.png
Hope this helps! :D
Post Reply