I am having some difficulty understanding how to set the slider values to a specific range

<div id="track" style="position:absolute; left:25px; top:10px; width:150px; height:10px;">
     <div id="scaller" style=" width:10px; height:15px; background-image: url(slidder2.png)"></div>
</div>

var scalebar = new Control.Slider('scaller', 'track',{
  sliderValue:1,
  minimum:.25,
      onSlide:function(v){doscale(v)},
      onChange:function(v){doscale(v)}
});


No matter what I set the "Minimum" to , I still get 0 -1 as my range 

I would be most grateful to any one who could point me to what it is I am missing!

Cheers.

______________________________________________________________________

Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com 




_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to