This project is archived and is in readonly mode.

#114 ✓invalid
Tim

Slider onComplete fires if .set is used

Reported by Tim | August 29th, 2009 @ 12:49 AM

Mootools Slider onComplete action fires anytime the page loads if .set is used.

Example:

/ this one fires on page load /
var mySlide = new Slider($('premature-firing'), $('premature-firing'), {

steps:100,
onComplete: function(){alert("this shouldn't fire onLoad but does!")}

}).set(50);

/ this one works properly / var mySlide = new Slider($('correct-firing'), $('correct-firing'), {

    steps:100,
onComplete: function(){alert("this one doesn't fire until it's dragged")}

});

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket

Pages