I’m trying to build a slider in jquery as shown in the image below. As a user slides the slider, the values on the marker are updated to indicate the position of the slider in percentage. The slider is now at the 20%/80% mark. The 20% area has a darker color that increases as the user slides the slider to the right and decreases as the user slides to the left.
Here is what I’ve managed so far.
http://dl.dropbox.com/u/1805626/splitter.html
Appreciate any help.
Add this bind:
And add this CSS:
DEMO: http://jsfiddle.net/AlienWebguy/7mWw7/