sblima
Posts: 2
Joined: Tue Sep 16, 2008 8:39 pm

Slideshow - Changing Interval

Is there a way to change the Slideshow interval after creating it? I'd like to give my user's the option of setting the speed.. I only see the addSlideShow method, but nothing that would indicate how to change the interval?

.....30 minutes later

I wrote a function for my specific case where there is only one slideshow on my page. It checks to see if there is only 1 and changes the interval.. It seems to work, so for anyone else out there:

changeSlideshowInterval: function(interval) {
if (hs.slideshows.length == 1) {
var ss = hs.slideshows[0];
ss.interval = interval;
}
}

Return to “Highslide JS Usage”