Controlling the speed of the Ajax scroller
- Saka
-
- Offline
- Administrator
-
14 years 11 months ago #5465
by Saka
Emir Sakic
www.sakic.net
There is a parameter in module configuration called "Delay for auto play". Just enter a number (in seconds) and that will control the speed.
If you mean the speed of actual transition that's something else.
If you mean the speed of actual transition that's something else.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- silo23
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
14 years 11 months ago #5466
by silo23
Hi
Sorry, I did mean 'the speed of actual transition', is there a way to control this?
Sorry, I did mean 'the speed of actual transition', is there a way to control this?
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
14 years 11 months ago #5468
by Saka
Emir Sakic
www.sakic.net
Currently not as it's different for different effects. Which effect do you use?
Maybe I will add it to parameters in a later version.
Maybe I will add it to parameters in a later version.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- silo23
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
14 years 11 months ago #5474
by silo23
I'm using the vertical scroll, there must be something in the code that controls the speed? I don't mind altering the code if you could give me an idea of where to look, I'm sure others would find this useful.
Cheers
Silo
Cheers
Silo
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
14 years 11 months ago - 14 years 11 months ago #5476
by Saka
Emir Sakic
www.sakic.net
Vertical scroll all right, but which effect (Linear, Expo, Bounce or Back)? Each transition has different transition time.
I visited your site and I see that you use linear transition. Open the file modules/mod_ajaxscroller/mod_ajaxscroller/script.js
Find the code: "linear|500|". Change this to "linear|1000|" or any other value in milliseconds you would like the transition to take.
I visited your site and I see that you use linear transition. Open the file modules/mod_ajaxscroller/mod_ajaxscroller/script.js
Find the code: "linear|500|". Change this to "linear|1000|" or any other value in milliseconds you would like the transition to take.
Emir Sakic
www.sakic.net
Last Edit: 14 years 11 months ago by Saka.
Please Log in or Create an account to join the conversation.
- silo23
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
14 years 11 months ago #5479
by silo23
Brilliant, thanks very much, took about 5 seconds to alter the code, and looks great.
Cheers
Silo
Cheers
Silo
Please Log in or Create an account to join the conversation.