]>
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>History Example</title>\r | |
8 | <link rel="stylesheet" type="text/css" href="../shared/examples.css"/>\r | |
9 | \r | |
10 | <!-- GC -->\r | |
11 | \r | |
12 | \r | |
13 | <script type="text/javascript" src="../shared/include-ext.js"></script>\r | |
14 | <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r | |
15 | </head>\r | |
16 | <body>\r | |
17 | \r | |
18 | <h1>History Example</h1>\r | |
19 | \r | |
20 | <script type="text/javascript">\r | |
21 | // Ensure we're not inside an iframe\r | |
22 | if (window != window.top) {\r | |
23 | document.write('<p>History example doesn\'t work inside an iframe.</p>');\r | |
24 | document.write('<p><a href="#" onclick="window.open(document.location.href); return false;">Open in new tab.</a></p>');\r | |
25 | }\r | |
26 | else {\r | |
27 | document.write('<script type="text/javascript" src="history.js"></'+'script>');\r | |
28 | }\r | |
29 | </script>\r | |
30 | \r | |
31 | <p>This is a simple implementation of the <tt>Ext.History</tt> component for managing browser back/forward navigation within a single page.</p>\r | |
32 | \r | |
33 | <p>It demonstrates managing history for multiple components within the page. Simply change tabs and use the browser Back\r | |
34 | and Forward buttons to navigate them.</p>\r | |
35 | \r | |
36 | <p>The js is not minified so it is readable. See <a href="history.js">history.js</a>.</p>\r | |
37 | </body>\r | |
38 | </html>\r |