Simple html page with Slider
Hi all,
Im pretty new to jquery and javascript. To get started with a small project of mine I need to add a slider to a html page. This is the code I have. I was hoping it would show a slider on my page but it doesnt. Can anyone tell me what is wrong?
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<link type="text/css" href="css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js" />
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js" />
<script type="text/javascript">
$(function() {
$("#volume1Slider").slider({
orientation: "vertical",
value: 0,
min: 0,
max: 100
})
});
</script>
</head>
<body>
Test
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
<td align="center">
<div id="volume1Slider">
</div>
</td>
</tr>
</table>
</body>
</html>
Thank you.