forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: Bar6 on August 05, 2011, 11:46:06 am
-
About the Slider animation plugin (http://forum.coppermine-gallery.net/index.php/topic,57388.0.html) (BTW many thanks to Timo-Welt for the 1.5.x compatibility) — is it possible to code an even slower sliding speed? Can anyone point me to the corresponding code snippet?
-
What I discovered is that the following code snippet in slider.js controls the number of milliseconds between the tiny incremental movements of the slider...
lefttime=setInterval("cpgslideplug_slideleft()",75)
The Slider plugin is configured for 75ms intervals. Higher numbers result in slower speeds. What I discovered, though, is that...
Increasing it will slow things down but, too much of an increase will make the movement appear choppy. I'd try 90 tops.
So I decided to use a 90 millisecond interval.