1 | <!doctype html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>Wizard - Animation</title> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
---|
7 | <meta name="description" content="Wizard animation styles." /> |
---|
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 | <link href="../../themes/wijmo/jquery.wijmo-open.2.2.2.css" rel="stylesheet" type="text/css" /> |
---|
13 | <link href="../../themes/wijmo/jquery.wijmo.wijwizard.css" rel="stylesheet" type="text/css" /> |
---|
14 | |
---|
15 | <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script> |
---|
16 | <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script> |
---|
17 | <script src="../../external/jquery.wijmo-open.all.2.2.2.min.js" type="text/javascript"></script> |
---|
18 | <script src="../../wijmo/jquery.wijmo.wijwizard.js" type="text/javascript"></script> |
---|
19 | <script type="text/javascript"> |
---|
20 | $(document).ready(function () { |
---|
21 | $("#pages").wijwizard(); |
---|
22 | |
---|
23 | $('.show').change(function () { |
---|
24 | $("#pages").wijwizard({ showOption: { |
---|
25 | blind: $('#showblind')[0].checked, |
---|
26 | fade: $('#showfade')[0].checked, |
---|
27 | duration: $('#showduration').val() |
---|
28 | } |
---|
29 | }); |
---|
30 | }); |
---|
31 | |
---|
32 | $('.hide').change(function () { |
---|
33 | $("#pages").wijwizard({ hideOption: { |
---|
34 | blind: $('#hideblind')[0].checked, |
---|
35 | fade: $('#hidefade')[0].checked, |
---|
36 | duration: $('#hideduration').val() |
---|
37 | } |
---|
38 | }); |
---|
39 | }); |
---|
40 | }); |
---|
41 | </script> |
---|
42 | </head> |
---|
43 | <body class="demo-single"> |
---|
44 | <div class="container"> |
---|
45 | <div class="header"> |
---|
46 | <h2> |
---|
47 | Animation</h2> |
---|
48 | </div> |
---|
49 | <div class="main demo"> |
---|
50 | <div id="pages"> |
---|
51 | <ul> |
---|
52 | <li> |
---|
53 | <h1> |
---|
54 | Step 1</h1> |
---|
55 | This is the first step</li> |
---|
56 | <li> |
---|
57 | <h1> |
---|
58 | Step 2</h1> |
---|
59 | This is the second step</li> |
---|
60 | <li> |
---|
61 | <h1> |
---|
62 | Step 3</h1> |
---|
63 | This is the third step</li> |
---|
64 | </ul> |
---|
65 | <div> |
---|
66 | <p> |
---|
67 | Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec |
---|
68 | arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. |
---|
69 | Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper |
---|
70 | leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales |
---|
71 | tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel |
---|
72 | pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. |
---|
73 | Nunc tristique tempus lectus.</p> |
---|
74 | </div> |
---|
75 | <div> |
---|
76 | <p> |
---|
77 | Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra |
---|
78 | massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget |
---|
79 | luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean |
---|
80 | aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent |
---|
81 | in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat |
---|
82 | nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque |
---|
83 | convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod |
---|
84 | felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p> |
---|
85 | </div> |
---|
86 | <div> |
---|
87 | <p> |
---|
88 | Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, |
---|
89 | pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. |
---|
90 | Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia |
---|
91 | nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo |
---|
92 | pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem |
---|
93 | enim, pretium nec, feugiat nec, luctus a, lacus.</p> |
---|
94 | <p> |
---|
95 | Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam |
---|
96 | ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing |
---|
97 | velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula |
---|
98 | faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero |
---|
99 | sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor |
---|
100 | ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas |
---|
101 | commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit |
---|
102 | hendrerit.</p> |
---|
103 | </div> |
---|
104 | </div> |
---|
105 | <!-- End demo markup --> |
---|
106 | <div class="demo-options"> |
---|
107 | <!-- Begin options markup --> |
---|
108 | <div> |
---|
109 | <h6> |
---|
110 | Show Option:</h6> |
---|
111 | <label> |
---|
112 | Blind</label><input id='showblind' type='checkbox' class='show' /> |
---|
113 | <label> |
---|
114 | Fade</label><input id='showfade' type='checkbox' class='show' checked='true' /> |
---|
115 | <label> |
---|
116 | Duration</label><select id="showduration" class='show'> |
---|
117 | <option value="200" selected='true'>200</option> |
---|
118 | <option value="400">400</option> |
---|
119 | <option value="800">800</option> |
---|
120 | <option value="1500">1500</option> |
---|
121 | </select> |
---|
122 | </div> |
---|
123 | <div> |
---|
124 | <h6> |
---|
125 | Hide Option:</h6> |
---|
126 | <label> |
---|
127 | Blind</label><input id='hideblind' type='checkbox' class='hide' /> |
---|
128 | <label> |
---|
129 | Fade</label><input id='hidefade' type='checkbox' class='hide' checked='true' /> |
---|
130 | <label> |
---|
131 | Duration</label><select id="hideduration" class='hide'> |
---|
132 | <option value="200" selected='true'>200</option> |
---|
133 | <option value="400">400</option> |
---|
134 | <option value="800">800</option> |
---|
135 | <option value="1500">1500</option> |
---|
136 | </select> |
---|
137 | </div> |
---|
138 | <!-- End options markup --> |
---|
139 | </div> |
---|
140 | </div> |
---|
141 | <div class="footer demo-description"> |
---|
142 | <p> |
---|
143 | The Wijmo Wizard widget supports animations, which you can play around with in this sample. To select or clear an animation, click the check box. To change the duration of the show option and hide option animations, click their respective Duration drop-down arrow and select a duration from the list. |
---|
144 | </p> |
---|
145 | </div> |
---|
146 | </div> |
---|
147 | </body> |
---|
148 | </html> |
---|