The jQuery UI Slider plugin makes selected elements into sliders. There are various options such as multiple handles, and ranges. The handle can be moved with the mouse or the arrow keys.
The slider widget will create handle elements with the class ui-slider-handle on initialization. You can specify custom handle elements by creating and appending the elements and adding the ui-slider-handle class before init. It will only create the number of handles needed to match the length of value/values. For example, if you specify values: [1, 5, 18] and create one custom handle, the plugin will create the other two.