1 | <!doctype html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>Expander - Expand Direction</title> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
---|
7 | <meta name="description" content="%description%" /> |
---|
8 | <meta name="keywords" content="" /> |
---|
9 | <meta name="author" content="ComponentOne" /> |
---|
10 | |
---|
11 | <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" /> |
---|
12 | |
---|
13 | <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script> |
---|
14 | <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script> |
---|
15 | <link type="text/css" href="../../themes/wijmo/jquery.wijmo.wijutil.css" rel="stylesheet" /> |
---|
16 | <link type="text/css" href="../../themes/wijmo/jquery.wijmo.wijexpander.css" rel="stylesheet" /> |
---|
17 | <script type="text/javascript" src="../../wijmo/jquery.wijmo.wijutil.js"></script> |
---|
18 | <script type="text/javascript" src="../../wijmo/jquery.wijmo.wijexpander.js"></script> |
---|
19 | <script id="scriptInit" type="text/javascript"> |
---|
20 | $(document).ready(function () { |
---|
21 | $("#expander").wijexpander({expandDirection: "top"}); |
---|
22 | }); |
---|
23 | </script> |
---|
24 | </head> |
---|
25 | <body class="demo-single"> |
---|
26 | <div class="container"> |
---|
27 | <div class="header"> |
---|
28 | <h2> |
---|
29 | Expand Direction</h2> |
---|
30 | </div> |
---|
31 | <div class="main demo"> |
---|
32 | <!-- Begin demo markup --> |
---|
33 | <div id="expander"> |
---|
34 | <h3> |
---|
35 | header |
---|
36 | </h3> |
---|
37 | <div> |
---|
38 | wijexpander widget allows the user to show or hide any embedded or external content by clicking on an expander header. |
---|
39 | </div> |
---|
40 | </div> |
---|
41 | <!-- End demo markup --> |
---|
42 | <div class="demo-options"> |
---|
43 | <!-- Begin options markup --> |
---|
44 | <div style="clear:both;float:none;"> </div> |
---|
45 | <label for="selEasing2"> |
---|
46 | Easing</label> |
---|
47 | <select id="expandDirection" onchange="applyOptions()" onclick="applyOptions()"> |
---|
48 | <option value="top" selected="selected">top</option> |
---|
49 | <option value="right">right</option> |
---|
50 | <option value="bottom">bottom</option> |
---|
51 | <option value="left">left</option> |
---|
52 | </select> |
---|
53 | <script type="text/javascript" language="javascript"> |
---|
54 | function applyOptions() { |
---|
55 | $("#expander").wijexpander("option", "expandDirection", $("#expandDirection").get(0).value); |
---|
56 | } |
---|
57 | </script> |
---|
58 | <!-- End options markup --> |
---|
59 | </div> |
---|
60 | </div> |
---|
61 | <div class="footer demo-description"> |
---|
62 | <p> |
---|
63 | </p> |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | </body> |
---|
67 | </html> |
---|