search for: handlesliderchang

Displaying 1 result from an estimated 1 matches for "handlesliderchang".

Did you mean: handlesliderchange
2008 Jul 07
4
script.aculo.us slider - this and event handler - depending sliders
...)" inside I create the 5 sliders in a for loop and store them inside an array which is a member of the class: for() { this.sliders[i].ctrl = new Control.Slider(); } I then add callbacks for the onChange and onSlide events also inside the loop with: this.sliders[i].ctrl.options.onSlide = handleSliderChange; this.sliders[i].ctrl.options.onChange = handleSliderChange; In the callback I get two parameters: the new value and the slider that triggered the event. To do my stuff I now need one more thing: a reference to the array that contians ALL the sliders - naturally you would think this.sliders[] but...