Slider plugin speed? Slider plugin speed?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Slider plugin speed?

Started by Bar6, August 05, 2011, 11:46:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bar6

About the Slider animation plugin (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?

Bar6

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...

Quote from: jscheuer1 link=http://www.dynamicdrive.com/forums/showthread.php?t=6019&highlight=conveyor+slide+speedIncreasing 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.