example: |
MyApp.volSlider = new jt_Slider(document.getElementById('volTrack'), MyApp.setVolume); MyApp.volSlider.setPos(volDefault); |
description: |
Creates a dragable slider control.
68 lines of code, 2.21 KB |
main methods: |
jt_.Slider = function(track, onDrag) jt_.Slider.prototype.setPos = function(pct) jt_.Slider.prototype.getPos = function() jt_.Slider.prototype.enable = function(onOff) jt_.Slider.clickTrack = function(ev) jt_.Slider.minMax = function(pct) |