]> git.wh0rd.org - tt-rss.git/blob - lib/dojo/resources/iframe_history.html
add dijit/dojo stuff; initial ui mockup
[tt-rss.git] / lib / dojo / resources / iframe_history.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6 <title></title>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8 <script type="text/javascript">
9 // <!--
10 var noInit = false;
11
12 function init(){
13 if(noInit){ return; }
14 var hasParentDojo = false;
15 try{
16 hasParentDojo = window.parent != window && window.parent["dojo"];
17 }catch(e){
18 alert("Initializing iframe_history.html failed. If you are using a cross-domain Dojo build,"
19 + " please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"
20 + " to the path on your domain to iframe_history.html");
21 throw e;
22 }
23
24 if(hasParentDojo){
25 //Set the page title so IE history shows up with a somewhat correct name.
26 document.title = window.parent.document.title;
27
28 //Notify parent that we are loaded.
29 var pdj = window.parent.dojo;
30 if(pdj["back"]){
31 pdj.back._iframeLoaded(null, window.location);
32 }
33 }
34
35 }
36 // -->
37 </script>
38 </head>
39 <body onload="try{ init(); }catch(e){ alert(e); }">
40 <h4>The Dojo Toolkit -- iframe_history.html</h4>
41
42 <p>This file is used in Dojo's back/fwd button management.</p>
43 </body>
44 </html>