~horux-dev/horux-webcli/thfo

« back to all changes in this revision

Viewing changes to yii/demos/phonebook/flex/html-template/history/historyFrame.html

  • Committer: Thierry Forchelet
  • Date: 2011-02-25 13:30:15 UTC
  • Revision ID: thierry.forchelet@letux.ch-20110225133015-zxyj9w7sqv8ly971
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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(url);
 
26
    </script>
 
27
    Hidden frame for Browser History support.
 
28
    </body>
 
29
</html>