jquery-ui/demos/slider/default.html
2008-12-30 19:16:50 +00:00

42 lines
1012 B
HTML

<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Slider - Default Demo</title>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.slider.js"></script>
<script type="text/javascript">
$(function() {
$("#slider").slider({
value: 37
});
});
</script>
</head>
<body>
<div class="demo">
<p>Your age:</p>
<div id="slider"></div>
</div><!-- End demo -->
<div class="demo-description">
<p>The default slider has a single handle and is horizontal. The handle can be moved with the mouse or by using the arrow keys and has full ARIA attributes for accessibility. The current value for the slider can be set with the value option: <pre>value: 37</pre></p>
</div><!-- End demo-description -->
</body>
</html>