diff options
Diffstat (limited to 'demos/slider/default.html')
-rw-r--r-- | demos/slider/default.html | 11 |
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 --> |