track.setAttribute('bgcolor', s.bordercolor); track.background.setAttribute('bgcolor', s.basecolor); track.filled.setAttribute('bgcolor', s.selectedcolor); A slider.

The slider tag creates a slider which allows for easy selection of a single value between a provided range. Options exist for setting the range, showing the range values, showing the selected value while dragged, and showing a fill bar.

]]>
A slider.

The slider tag creates a slider which allows for easy selection of a single value between a provided range. Options exist for setting the range, showing the range values, showing the selected value while dragged, and showing a fill bar.

<canvas height="60"> <slider x="20" y="20" width="300" value="50"/> </canvas>