I'm avoiding using jQuery UI but need a nice slider. Any help?
EDIT I don't like jQueryUI because the slider is the only component I need so I'd like to开发者_Go百科 go light weight with it.
- http://madrobby.github.com/scriptaculous/slider/
- http://mootools.net/demos/?demo=Slider
- http://developer.yahoo.com/yui/examples/slider/slider-ticks.html
And native js: http://www.blueshoes.org/en/javascript/slider/
You say that you want to avoid jQuery UI because you don't want the weight of all the components. I fully agree, and so does the jQuery UI team. This is why you can choose which components to compile. By my reckoning, the CSS and JS for the slider on its own comes to about 80kb -- which really isn't very much.
Here is another one:
https://github.com/borisdiakur/jquery.slideControl.js
Live demo:
http://borisdiakur.com/jquery.slideControl.js/demo.html
精彩评论