if(this.showButtons){ this.incrementButton.style.display=""; this.decrementButton.style.display=""; } this.connect(this.domNode, dojo.isIE ? "onmousewheel" : 'DOMMouseScroll', "_mouseWheeled"); // define a custom constructor for a SliderMover that points back to me var _self = this; var mover = function(){ dijit.form._SliderMover.apply(this, arguments); this.widget = _self; }; dojo.extend(mover, dijit.form._SliderMover.prototype); this._movable = new dojo.dnd.Moveable(this.sliderHandle, {mover: mover}); dijit.setWaiState(this.focusNode, "valuemin", this.minimum); dijit.setWaiState(this.focusNode, "valuemax", this.maximum); this.inherited(arguments);