Return to Snippet

Revision: 34105
at October 17, 2010 12:00 by nveselinov


Initial Code
<!DOCTYPE html>
<html>
<head>
<title>HTML 5 Slider Bar</title>
</head>
<body>
<input type="range" min="0" max="50" value="0" step="5" onchange="showValue(this.value)" />
<span id="range">0</span>
<script type="text/javascript">
function showValue(newValue)
{
	document.getElementById("range").innerHTML=newValue;
}
</script>
</body>
</html>

Initial URL

                                

Initial Description

                                

Initial Title
HTML 5 Slider Bar

Initial Tags
javascript, js, html5

Initial Language
JavaScript