corrade-http-templates – Blame information for rev 57
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
57 | office | 1 | <!doctype html> |
2 | <html lang="en"> |
||
3 | <head> |
||
4 | <meta charset="utf-8"> |
||
5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
||
6 | <title>jQuery UI Slider - Vertical range slider</title> |
||
7 | <link rel="stylesheet" href="../../themes/base/all.css"> |
||
8 | <link rel="stylesheet" href="../demos.css"> |
||
9 | <script src="../../external/requirejs/require.js"></script> |
||
10 | <script src="../bootstrap.js"> |
||
11 | $( "#slider-range" ).slider({ |
||
12 | orientation: "vertical", |
||
13 | range: true, |
||
14 | values: [ 17, 67 ], |
||
15 | slide: function( event, ui ) { |
||
16 | $( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] ); |
||
17 | } |
||
18 | }); |
||
19 | $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + |
||
20 | " - $" + $( "#slider-range" ).slider( "values", 1 ) ); |
||
21 | </script> |
||
22 | </head> |
||
23 | <body> |
||
24 | |||
25 | <p> |
||
26 | <label for="amount">Target sales goal (Millions):</label> |
||
27 | <input type="text" id="amount" readonly style="border:0; color:#f6931f; font-weight:bold;" /> |
||
28 | </p> |
||
29 | |||
30 | <div id="slider-range" style="height:250px;"></div> |
||
31 | |||
32 | <div class="demo-description"> |
||
33 | <p>Change the orientation of the range slider to vertical. Assign a height value via <code>.height()</code> or by setting the height through CSS, and set the <code>orientation</code> option to "vertical."</p> |
||
34 | </div> |
||
35 | </body> |
||
36 | </html> |