aboutsummaryrefslogtreecommitdiffstats
path: root/demos/slider/steps.html
diff options
context:
space:
mode:
authorMaggie Costello Wachs <fg.maggie@gmail.com>2009-01-20 21:10:12 +0000
committerMaggie Costello Wachs <fg.maggie@gmail.com>2009-01-20 21:10:12 +0000
commit88d8063be47711fe5c0b9390a91fc12c8c6daec0 (patch)
tree6e0125b4715abff50a3b03953bac62a54ed2c88f /demos/slider/steps.html
parent565808ceaef9387d8d4c7c6cf6bcaf5efaf63658 (diff)
downloadjquery-ui-88d8063be47711fe5c0b9390a91fc12c8c6daec0.tar.gz
jquery-ui-88d8063be47711fe5c0b9390a91fc12c8c6daec0.zip
slightly reorganized/renamed demos to better reflect functionality
Diffstat (limited to 'demos/slider/steps.html')
-rw-r--r--demos/slider/steps.html18
1 files changed, 2 insertions, 16 deletions
diff --git a/demos/slider/steps.html b/demos/slider/steps.html
index cbbf5f469..25064f526 100644
--- a/demos/slider/steps.html
+++ b/demos/slider/steps.html
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
- <title>jQuery UI Slider - Steps Demo</title>
+ <title>jQuery UI Slider - Snap to increments</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -40,21 +40,7 @@
<div class="demo-description">
-<p>
-This slider has a step value set that will only allow for increments of 50 to be selected.
-The default step increment is 1.
-The drag handle will snap to drop points every 50 units.
-This is set in an option called step:
-</p>
-
-<pre><code>min: 0,
-max: 500,
-step: 50
-</code></pre>
-
-<p>
-This demo also shows how the current slider value can be used to populate a standard form input that can also be used for user feedback.
-</p>
+<p>Increment slider values with the <strong>step</strong> option set to an integer, commonly a dividend of the slider's maximum value. The default increment is 1.</p>
</div><!-- End demo-description -->