Vorrei un aiuto per modificare il tempo di transizione dell'evento cambio immagine comandato in questo modo:
codice:
$(document).ready(function(){ //This keeps track of the slideshow's current location var current_panel = 1; //Controlling the duration of animation by variable will simplify changes var animation_duration = 1900; $.timer(6000, function (timer) { //Determine the current location, and transition to next panel switch(current_panel){ case 1: $("#slideshow").stop().animate({left: "-960px", top: "0px"}, {easing: 'easeOutBack', duration: animation_duration}); current_panel = 2; break; case 2: $("#slideshow").stop().animate({left: "0px", top: "-260px"}, {easing: 'easeOutBack', duration: animation_duration}); current_panel = 3; break; case 3: $("#slideshow").stop().animate({left: "-960px", top: "-260px"}, {easing: 'easeOutBack', duration: animation_duration}); current_panel = 4; break; case 4: $("#slideshow").stop().animate({left: "0px", top: "0px"}, {easing: 'easeOutBack', duration: animation_duration}); current_panel = 1; break; timer.reset(12000); } }); });
vorrei che la prima immagine non cambiasse dopo più di 12 secondi... ma dopo 6 come tutte le altre. Come fare? Ho provato a portare l'ultimo valore "timer.reset(12000);" anche a soli 1000 ma non cambia nulla. Esempio: www.omniaplena.com
Grazie