13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>History Example</title>
    <link rel="stylesheet" type="text/css" href="../shared/example.css"/>
 
    <!-- GC -->
 
 
    <script type="text/javascript" src="../../examples/shared/include-ext.js"></script>
    <script type="text/javascript" src="../../examples/shared/options-toolbar.js"></script>
</head>
<body>
 
    <h1>History Example</h1>
 
    <script type="text/javascript">
      // Ensure we're not inside an iframe
      if (window != window.top) {
          document.write('<p>History example doesn\'t work inside an iframe.</p>');
          document.write('<p><a href="#" onclick="window.open(document.location.href); return false;">Open in new tab.</a></p>');
      }
      else {
          document.write('<script type="text/javascript" src="history.js"></'+'script>');
      }
    </script>
 
    <p>This is a simple implementation of the <tt>Ext.History</tt> component for managing browser back/forward navigation within a single page.</p>
 
    <p>It demonstrates managing history for multiple components within the page. Simply change tabs and use the browser Back
    and Forward buttons to navigate them.</p>
 
    <p>The js is not minified so it is readable. See <a href="history.js">history.js</a>.</p>
 
    <!-- Fields required for history management -->
    <form id="history-form" class="x-hide-display">
        <input type="hidden" id="x-history-field" />
        <iframe id="x-history-frame"></iframe>
    </form>
</body>
</html>