
I was looking for advise on how to enable the above image to work in jquery.
I have the two numbers of either side:
<span id="startAge">21</span>
<span id="endAge">99</span>
I can split the image up so the bar and the icons are separate.
Questions:
- How would I get the icon to slide along the bar?
- How would I get the age to change as the icon slides?
- How can I prevent the bars crossing – eg: aged: 35 to 30 (being the wrong way around)?
Any other advise would be great – just need a hand to get started on this one.
Thanks
check out the jqueryui slider like Zoltan mentioned. you can get the functionality you need through css and getting used to the slider api calls.