C’è un file esterno “fader.js” che tra le tante riporta anche queste due funzioni, ma non so se sia quello che hai chiesto.
codice:start: function() { this.stopped = false; this.next(); }, /** * Stops the fading and sets the opacity of the current image to 100%. */ stop: function() { this.stopped = true; try { clearTimeout(this.timeout); } catch(ex) { } try { Effect.Queues.get(this.options.id).each(function(effect) { effect.cancel() }) } catch(ex) { } if(this.oldImg) { this.img = this.oldImg; --this.index; } Element.setOpacity(this.img, 1); },![]()

Rispondi quotando