We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

slideshow adaptation | Forum

Martin Philipps
Martin Philipps Aug 7 '14
Hi


I adapted my slideshow widget so that the links are opened in a new "_blank" window, but can somebody tell me where I can change the speed in the code?


Even the "slow" slideshow speed is still to fast if a label is displayed on the images. So I need to make the slideshow still a bit slower...


Thank you!

Martin Philipps
Martin Philipps Aug 7 '14
I just found it:


in slideshow/static/js open the file slideshow.js and change the following code to your liking:


        switch ( self.interval )

        {        

        case 'long': var interval = 6000; break;

        case 'medium': var interval = 4000; break;

        case 'short': var interval = 2000; break;

        }


I found 8000, 5500 and 3000 to be good values. 

The Forum post is edited by Martin Philipps Aug 7 '14