Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Slider plugin speed?  (Read 3806 times)

0 Members and 1 Guest are viewing this topic.

Bar6

  • Contributor
  • Coppermine newbie
  • ***
  • Country: za
  • Offline Offline
  • Posts: 8
    • Geology.Photo
Slider plugin speed?
« on: August 05, 2011, 11:46:06 am »

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

  • Contributor
  • Coppermine newbie
  • ***
  • Country: za
  • Offline Offline
  • Posts: 8
    • Geology.Photo
Re: Slider plugin speed?
« Reply #1 on: August 06, 2011, 03:08:44 pm »

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

Code: [Select]
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+speed
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.
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.