Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
philo
philo
The transition speed is apparently controlled in js/slider.js
 
----------------------
var speed = 20;
var defaultSpeed = 1;
var slideShowSpeed = 2000;
var sliderSpeed = new Array(); //Specify slider scroll speed (larger is faster 1-10)
var sliderOptions = new Array();
-----------------------
a) There is no documentation regarding these speeds, and how they interelate.
b) The comment on line 4 seems to relate to one of the lines above. If not, how is it used?
c) Are the speeds CPU dependent?
d) Is there a 'replace' (1 pic with another) option as well as a variety of slide options?
 
Help would greatly apprecated as the slider is very very slow.
cheers Wacko
 
Vera
Vera
You are correct the speed is regulated by js/slider.js in the line
 
var defaultSpeed = 1;
 
The rest of the lines are just javascript code which you don't need to know about. Speed does not depend on CPU. As for "replace" effect it is called "slideshow" and could be selected in block settings.
 
Regards,
ViArt Team
 
Rinos
Rinos
Hi,
my change for slow speed is this ...
On my site works fine
 
var speed = 20;
var defaultSpeed = 1;
var slideShowSpeed = 6000;
var sliderSpeed = 1; //Specify slider scroll speed (larger is faster 1-10)
var sliderOptions = new Array();
 
Bye
 
freezer
freezer
Can somebody please confirm which setting makes the slider faster or slower and the number range. I tried changing several of these settings as in examples above and it doesn't seem to change anything. It would be great if this setting was in the CMS at block level.
 
Many thanks in advance Smile
 
Dave
 
philo
philo
Hi all
This is what I finally used.
Can be seen at www.resourcebooks.co.nz
 
in sliders.js
------------------
var defaultSpeed = 3; // CHANGE THIS. Scroll speed 1-10 (faster)
 
var speed = 20; // 20 orig.
var slideShowSpeed = 8000; // 2000 orig.
var sliderSpeed = new Array();
var sliderOptions = new Array();
-----------------
cheers // Peter