jquery-ui/demos/slider/default.html

42 lines
1012 B
HTML
Raw Normal View History

2008-12-30 04:16:51 +00:00
<!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">
2008-12-30 19:16:50 +00:00
<p>Your age:</p>
2008-12-30 04:16:51 +00:00
<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 -->
2008-12-30 04:16:51 +00:00
</body>
</html>