Slow down transition.
Permalink Browser Info Environment
Hi,
How do I slow down the transition time? I can see the js values in the page source but can't find out which site file I need to change.
Thanks,
Richard
How do I slow down the transition time? I can see the js values in the page source but can't find out which site file I need to change.
Thanks,
Richard
Type: | Discussion |
---|---|
Status: | New |
1) Open the view.php file in the blocks folder of the package.
2) Find where the cycle function is called (around line 7).
3) Find the line 'cleartypeNoBg: true,' and add the following code on the next line:
4) Change the value to whatever you want. The lower the number the faster the transition speed.
Hope this helps.
2) Find where the cycle function is called (around line 7).
3) Find the line 'cleartypeNoBg: true,' and add the following code on the next line:
speed: 1300,
4) Change the value to whatever you want. The lower the number the faster the transition speed.
Hope this helps.
That's great. The only thing now is that changing the time between slides can't be changed. Ideally I'd like the slide to be static for 1 second and the transition to take 3. If I make the transition speed really short then I can get the static time to be 1 second but when I set the transition time to 3 seconds, the static time goes to almost 5 seconds.
Really strange but thanks for your help with that - the transition speed was the most important change.
Richard
Really strange but thanks for your help with that - the transition speed was the most important change.
Richard
Can you not use the 'How many seconds would you like the slides to last?' setting in the global settings?
So if you set that to 1 and enter '3000' as the figure in your view.php file that should keep them static for 1 second and then take 3 seconds for each transition to the next slide.
So if you set that to 1 and enter '3000' as the figure in your view.php file that should keep them static for 1 second and then take 3 seconds for each transition to the next slide.
Yes I tried that (and cleared the cache) but it didn't seem to work. I then tried having a play with the timeout setting in the view.php file but it still wouldn't play and faster than 5 seconds of static displaying.
http://www.banksidebandb.co.uk
Ignore the nivoslider part (we tried using that before switching to this system) but the slider bit has these settings:
pager: '#powerSliderPagination688',
cleartypeNoBg: true,
speed: 3000,
timeout: 1000
Thanks for your time.
http://www.banksidebandb.co.uk
Ignore the nivoslider part (we tried using that before switching to this system) but the slider bit has these settings:
pager: '#powerSliderPagination688',
cleartypeNoBg: true,
speed: 3000,
timeout: 1000
Thanks for your time.
Try and replace the 'timeout: <?php echo $slideDelay ?>000' option in the view.php with the following:
Just a guess but see if that works.
delay: 1000,
Just a guess but see if that works.
Alas not.
Thanks for the ideas, though.
Thanks for the ideas, though.
Cheers.