: slide interval setup : iongaro March 06, 2010, 04:43:18 AM I have a trouble to change the pause time between one slide and the following.
I see that in /templates/basic/js/lightbox.js there is a dedicated row /*** Configure Slideshow Options ***/ this.slideInterval = 20000; // Change value (milliseconds) to increase/decrease the time between "slides" (10000 = 10 seconds) I try to change the value but nothing happens when I upload the file above. Could you help me ? tks : Re: slide interval setup : mikek March 08, 2010, 08:49:28 AM Hello, if you are looking to change the time it is displayed this is controlled by the module's files, not the template's files. You would need to edit the following file:
modules/mod_s5_imageslide/mod_s5_imageslide.php and look for: interval=a.interval||5000; And adjust the 5000 : Re: slide interval setup : dddropoff July 27, 2010, 12:03:23 PM so this block of code is nowhere in mod_s5_imageslide.php. I need to change display time. I tried to change
$display_time = $display_time*1000; by changing 1000 to 3000 it doesnt seem to work. thanks, ddd : Re: slide interval setup : mikek July 27, 2010, 01:34:05 PM Hello,
It is in the file I mentioned above. It's part of a javascript function: var noobSlide=new Class({initialize:function(a){this.items=a.items;this.mode=a.mode||'horizontal';this.modes={horizontal:['left','width'],vertical:['top','height']};this.size=a.size||<?php echo $width ?>;this.box=a.box.setStyle(this.modes[this.mode][1],(this.size*this.items.length)+'px');this.button_event=a.button_event||'click';this.handle_event=a.handle_event||'click';this.interval=a.interval||5000; |