root/trunk/projects/HTMLViewStack/html-template/history/historyFrame.html @ 45

Revision 45, 0.8 KB (checked in by judah, 5 years ago)

commiting view stack example

Line 
1<html>
2    <head>
3        <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
4        <META HTTP-EQUIV="Expires" CONTENT="-1">
5    </head>
6    <body>
7    <script>
8        function processUrl()
9        {
10
11            var pos = url.indexOf("?");
12            url = pos != -1 ? url.substr(pos + 1) : "";
13            if (!parent._ie_firstload) {
14                parent.BrowserHistory.setBrowserURL(url);
15                try {
16                    parent.BrowserHistory.browserURLChange(url);
17                } catch(e) { }
18            } else {
19                parent._ie_firstload = false;
20            }
21        }
22
23        var url = document.location.href;
24        processUrl();
25        document.write(encodeURIComponent(url));
26    </script>
27    Hidden frame for Browser History support.
28    </body>
29</html>
Note: See TracBrowser for help on using the browser.