]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | <!DOCTYPE html>\r |
2 | <html>\r | |
3 | <head>\r | |
4 | <meta http-equiv="X-UA-Compatible" content="IE=edge">\r | |
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r | |
6 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">\r | |
7 | <title>\r | |
8 | ProgressBar\r | |
9 | </title>\r | |
10 | <link rel="stylesheet" type="text/css" href="progress-bar.css">\r | |
11 | <link rel="stylesheet" type="text/css" href="../shared/examples.css">\r | |
12 | \r | |
13 | <!-- GC -->\r | |
14 | \r | |
15 | <script type="text/javascript" src="../shared/include-ext.js"></script>\r | |
16 | <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r | |
17 | <script type="text/javascript" src="progress-bar.js"></script>\r | |
18 | <style type="text/css">\r | |
19 | p {\r | |
20 | margin: 20px;\r | |
21 | }\r | |
22 | </style>\r | |
23 | </head>\r | |
24 | <body>\r | |
25 | <h1>\r | |
26 | Progress Bar\r | |
27 | </h1>\r | |
28 | <p>\r | |
29 | The example shows how to use the ProgressBar class. The js is not minified so it is readable. See <a href="progress-bar.js">progress-bar.js</a>.\r | |
30 | </p>\r | |
31 | <p>\r | |
32 | <b>Basic Progress Bar:</b> Deferred rendering, dynamic show/hide and built-in progress text: <button id="btn1">Show</button><br>\r | |
33 | </p>\r | |
34 | <div class="status" id="p1text">\r | |
35 | Nothing to see here.\r | |
36 | </div>\r | |
37 | <div id="p1" style="width:300px;"></div>\r | |
38 | <p>\r | |
39 | <b>Additional Options:</b> Rendered on page load, left-aligned text and % width: <button id="btn2">Show</button><br>\r | |
40 | </p>\r | |
41 | <div id="p2" style="width:50%;"></div>\r | |
42 | <p>\r | |
43 | <b>Waiting Bar:</b> Wait for a long operation to complete (example will stop after 5 secs): <button id="btn3">Show</button><br>\r | |
44 | </p>\r | |
45 | <div id="p3"></div>\r | |
46 | <p>\r | |
47 | <span class="status" id="p3text">Ready</span>\r | |
48 | </p>\r | |
49 | <p>\r | |
50 | <b>Custom Styles:</b> Rendered like Windows XP with custom progress text element: <button id="btn4">Show</button><br>\r | |
51 | </p>\r | |
52 | <div id="p4" style="width:300px;"></div>\r | |
53 | <div class="status">\r | |
54 | <b>Status:</b> <span id="p4text"></span>\r | |
55 | </div>\r | |
56 | </body>\r | |
57 | </html>\r |