1 | <!doctype html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>Slider - Range</title> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
---|
7 | <meta name="description" content="Slider lets you input two values, an upper and a lower bound, on the track." /> |
---|
8 | <meta name="keywords" content="" /> |
---|
9 | <meta name="author" content="ComponentOne" /> |
---|
10 | <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" /> |
---|
11 | <link href="../../themes/wijmo/jquery.wijmo.wijslider.css" rel="stylesheet" type="text/css" /> |
---|
12 | <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script> |
---|
13 | <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script> |
---|
14 | <script src="../../wijmo/jquery.wijmo.wijutil.js" type="text/javascript"></script> |
---|
15 | <script src="../../wijmo/jquery.wijmo.wijslider.js" type="text/javascript"></script> |
---|
16 | <style type="text/css"> |
---|
17 | #hSlider |
---|
18 | { |
---|
19 | width: 300px; |
---|
20 | } |
---|
21 | </style> |
---|
22 | <script id="scriptInit" type="text/javascript"> |
---|
23 | $(document).ready(function () { |
---|
24 | $("#hSlider").wijslider({ orientation: "horizontal", range: true, dragFill: false, min: 0, max: 500, step: 2, values: [100, 400] }); |
---|
25 | }); |
---|
26 | </script> |
---|
27 | </head> |
---|
28 | <body class="demo-single"> |
---|
29 | <div class="container"> |
---|
30 | <div class="header"> |
---|
31 | <h2> |
---|
32 | Range</h2> |
---|
33 | </div> |
---|
34 | <div class="main demo"> |
---|
35 | <!-- Begin demo markup --> |
---|
36 | <div id="hSlider"> |
---|
37 | </div> |
---|
38 | <!-- End demo markup --> |
---|
39 | <div class="demo-options"> |
---|
40 | <!-- Begin options markup --> |
---|
41 | <!-- End options markup --> |
---|
42 | </div> |
---|
43 | </div> |
---|
44 | <div class="footer demo-description"> |
---|
45 | <p> |
---|
46 | The range option detects if there are two thumb buttons set and then creates a stylable range element between them.</p> |
---|
47 | </div> |
---|
48 | </div> |
---|
49 | </body> |
---|
50 | </html> |
---|