[jQuery] Slider plugin (pre-alpha): HELP NEEDED
I've developed (or partially developed) a new plugin that implements webform2's slider. Specifically, you can do stuff like <span style="font-style: italic;"><input type="range" step="1" min="1" max="10" value="1" id="a" />
</span>and jQuery will automatically convert it into a stylable range widget.
It uses jQuery and Interface, but there are three problems:
1) There is a rounding error of some sort, such that sometimes (not always), it's tough to get the range widget to get to the last number in the range.
2) There's a bug in IE I can't track down.
3) In order to make it work, I had to multiply my values (for the Interface slider's value array) by 234. Not 200; not 255; 234. The only reason I know it works is that I did a ton of trial and error to figure out how SliderSetValues works, and multiplying by that linear number fixed all the problems I was having. Ideally, I'd like to know why this is happening.
You can check out the widget as it currently stands at: <a href="http://www.visualjquery.com/plugins/slider.html">http://www.visualjquery.com/plugins/slider.html</a>
The Javascript is at: <a href="http://www.visualjquery.com/plugins/range_control.js">
http://www.visualjquery.com/plugins/range_control.js</a>
The pertinent HTML is in the "about" div, and the pertinent CSS (the little that there is) is the CSS related to #a, #b, and #c.
Please help!
<br clear="all">
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/