aboutsummaryrefslogtreecommitdiffstats
path: root/demos/slider/default.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-31 05:01:58 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-31 05:01:58 +0000
commit58a11a7dec11bdfc1f43f210ffd52da3816a530c (patch)
tree64d5e9c9067dcae8f1a682fe4c9af0932e48faab /demos/slider/default.html
parentfff23b36bf19b348d2e6c575d0e3d13ed04d63a3 (diff)
downloadjquery-ui-58a11a7dec11bdfc1f43f210ffd52da3816a530c.tar.gz
jquery-ui-58a11a7dec11bdfc1f43f210ffd52da3816a530c.zip
demos: added <code> inside <pre>. some other minor updates
Diffstat (limited to 'demos/slider/default.html')
-rw-r--r--demos/slider/default.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/demos/slider/default.html b/demos/slider/default.html
index 8d8096a9d..28fd1f59b 100644
--- a/demos/slider/default.html
+++ b/demos/slider/default.html
@@ -9,9 +9,7 @@
<script type="text/javascript" src="../../ui/ui.slider.js"></script>
<script type="text/javascript">
$(function() {
- $("#slider").slider({
- value: 37
- });
+ $("#slider").slider();
});
</script>
</head>
@@ -19,15 +17,16 @@
<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:</p>
-<pre>value: 37</pre>
+<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.
+</p>
</div><!-- End demo-description -->