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

Type: Discussion
Status: New
rpain
View Replies:
rpain replied on at Permalink Reply
rpain
Anyone? I'm guessing it's just in a file somewhere - I just don't know which one :-(

Cheers.
piranha33 replied on at Permalink Reply
piranha33
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:

speed: 1300,


4) Change the value to whatever you want. The lower the number the faster the transition speed.

Hope this helps.
rpain replied on at Permalink Reply
rpain
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
piranha33 replied on at Permalink Reply
piranha33
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.
rpain replied on at Permalink Reply
rpain
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.
piranha33 replied on at Permalink Reply
piranha33
Try and replace the 'timeout: <?php echo $slideDelay ?>000' option in the view.php with the following:

delay: 1000,


Just a guess but see if that works.
rpain replied on at Permalink Reply
rpain
Alas not.

Thanks for the ideas, though.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.