Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Slider plugin speed?  (Read 2998 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.018 seconds with 20 queries.