diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-08-07 11:34:28 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-08-07 11:34:28 -0400 |
commit | 71735652f5c92a2aeda02732c42b71fe0253f5fd (patch) | |
tree | c47cec54083d1b343fe9038e2cfda93c4d0620b5 /demos/spinner/default.html | |
parent | 051b9e07d9f15a7ee81b9ada1648615cbb85aad9 (diff) | |
download | jquery-ui-71735652f5c92a2aeda02732c42b71fe0253f5fd.tar.gz jquery-ui-71735652f5c92a2aeda02732c42b71fe0253f5fd.zip |
Spinner demos: Fixed line endings.
Diffstat (limited to 'demos/spinner/default.html')
-rw-r--r-- | demos/spinner/default.html | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/demos/spinner/default.html b/demos/spinner/default.html index 4035ee41c..35445a0e1 100644 --- a/demos/spinner/default.html +++ b/demos/spinner/default.html @@ -1,65 +1,65 @@ -<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Spinner - Default functionality</title>
- <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="../../jquery-1.6.2.js"></script>
- <script type="text/javascript" src="../../external/jquery.mousewheel-3.0.4.js"></script>
- <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
- <script type="text/javascript" src="../../ui/jquery.ui.spinner.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <script type="text/javascript">
- $(function() {
- $("#spinner").spinner();
-
- $("#disable").toggle(function() {
- $("#spinner").spinner("disable");
- }, function() {
- $("#spinner").spinner("enable");
- });
- $("#destroy").toggle(function() {
- $("#spinner").spinner("destroy");
- }, function() {
- $("#spinner").spinner();
- });
- $("#getvalue").click(function() {
- alert($("#spinner").spinner("value"));
- });
- $("#setvalue").click(function() {
- $("#spinner").spinner("value", 5);
- });
-
- $("button").button();
- });
- </script>
-</head>
-<body>
-
-<div class="demo">
-
-<p><label for="spinner">Select a value:</label>
-<input id="spinner" name="value" /></p>
-
-<p>
-<button id="disable">Toggle disable/enable</button>
-<button id="destroy">Toggle widget</button>
-</p>
-
-<p>
-<button id="getvalue">Get value</button>
-<button id="setvalue">Set value to 5</button>
-</p>
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-<p>
-Default spinner.
-</p>
-</div><!-- End demo-description -->
-
-</body>
-</html>
+<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>jQuery UI Spinner - Default functionality</title> + <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" /> + <script type="text/javascript" src="../../jquery-1.6.2.js"></script> + <script type="text/javascript" src="../../external/jquery.mousewheel-3.0.4.js"></script> + <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script> + <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script> + <script type="text/javascript" src="../../ui/jquery.ui.button.js"></script> + <script type="text/javascript" src="../../ui/jquery.ui.spinner.js"></script> + <link type="text/css" href="../demos.css" rel="stylesheet" /> + <script type="text/javascript"> + $(function() { + $("#spinner").spinner(); + + $("#disable").toggle(function() { + $("#spinner").spinner("disable"); + }, function() { + $("#spinner").spinner("enable"); + }); + $("#destroy").toggle(function() { + $("#spinner").spinner("destroy"); + }, function() { + $("#spinner").spinner(); + }); + $("#getvalue").click(function() { + alert($("#spinner").spinner("value")); + }); + $("#setvalue").click(function() { + $("#spinner").spinner("value", 5); + }); + + $("button").button(); + }); + </script> +</head> +<body> + +<div class="demo"> + +<p><label for="spinner">Select a value:</label> +<input id="spinner" name="value" /></p> + +<p> +<button id="disable">Toggle disable/enable</button> +<button id="destroy">Toggle widget</button> +</p> + +<p> +<button id="getvalue">Get value</button> +<button id="setvalue">Set value to 5</button> +</p> + +</div><!-- End demo --> + +<div class="demo-description"> +<p> +Default spinner. +</p> +</div><!-- End demo-description --> + +</body> +</html> |