Docs/ExperienceUI/pages/browser.htm
changeset 0 d5ce4c64ef88
equal deleted inserted replaced
-1:000000000000 0:d5ce4c64ef88
       
     1 <html>
       
     2   <head>
       
     3     <title>ExperienceUI Browser</title>
       
     4 
       
     5     <style type="text/css">
       
     6       body
       
     7       {
       
     8       padding: 10px;
       
     9       background-color: #000000;
       
    10       font-size: 13px;
       
    11       font-family: Verdana, Tahoma, Segoe UI, Arial, Helvetica, sans-serif;
       
    12       font-weight: normal;
       
    13       text-align: left;
       
    14       scrollbar-face-color:#EA7500;
       
    15       scrollbar-highlight-color:#FF9520;
       
    16       scrollbar-3dlight-color:#FFFFFF;
       
    17       scrollbar-darkshadow-color:#000000;
       
    18       scrollbar-shadow-color:#0A2254;
       
    19       scrollbar-arrow-color:#FFFFFF;
       
    20       scrollbar-track-color:#1C3977;
       
    21       }
       
    22       
       
    23       p, li
       
    24       {
       
    25       font-size: 8pt;
       
    26       }
       
    27 
       
    28       .footer
       
    29       {
       
    30       font-size: 10px;
       
    31       text-align: right;
       
    32       color: #909090;
       
    33       margin: 5px;
       
    34       font-family: verdana, sans-serif;
       
    35       }
       
    36       a:link, a:visited, a:active
       
    37       {
       
    38       color: #294F75;
       
    39       text-decoration: none;
       
    40       }
       
    41       
       
    42       a:hover
       
    43       {
       
    44       color: #E76400;
       
    45       text-decoration: none;
       
    46       }
       
    47       
       
    48       toptext  {
       
    49       font-size : 28pt;
       
    50       font-family : Verdana;
       
    51       font-weight : bold;
       
    52       color : #004687;
       
    53       line-height : 100%;
       
    54       filter: shadow(color=#808080, direction=115, strength=4); height: 40px; width: 100%; color: FFFFFF;
       
    55       }
       
    56     </style>
       
    57     
       
    58     <script type=text/javascript>
       
    59     
       
    60     var params=new Object();
       
    61     var aParams=document.location.search.substr(1).split('&');
       
    62     for (i=0;i<aParams.length;i++) {
       
    63       var aParam=aParams[i].split('=');
       
    64       var sParamName=aParam[0];
       
    65       var sParamValue=aParam[1];
       
    66       params[sParamName]=sParamValue;
       
    67     }
       
    68     
       
    69     function goHome() {document.getElementById('main_frame').src='welcome.htm';}
       
    70     
       
    71     function on(img) {
       
    72       document.getElementById(img).src="browser/"+img+"_o.bmp"
       
    73     }
       
    74     
       
    75     function off(img) {
       
    76       document.getElementById(img).src="browser/"+img+".bmp"
       
    77     }
       
    78     
       
    79     function url(location) {
       
    80       document.getElementById('main_frame').src=unescape(location);
       
    81       document.getElementById("adrbar").value=unescape(location);
       
    82     }
       
    83     
       
    84     function checkURL() {
       
    85     
       
    86     if(params['url']) {
       
    87       if(params['url']=="http://xpui.sourceforge.net/index.php") {
       
    88         if(params['sec']) {
       
    89           url(params['url']+'?sec='+params['sec']);
       
    90           document.getElementById("adrbar").value=params['url']+'?sec='+params['sec'];
       
    91         } else {
       
    92           url(params['url']);
       
    93         }
       
    94       } else {
       
    95       url(params['url']);
       
    96       }
       
    97     }
       
    98     }
       
    99     
       
   100       function exit() {
       
   101         // function for returning to the page from which this came
       
   102         // This is the base URL
       
   103         var url="../index.htm"
       
   104         // separator; value is "?" (first param) or "&" (later params)
       
   105         var sep="?";
       
   106         if(params['return']) {
       
   107           // we do have a url to return to
       
   108           url=url+sep+"start="+params['return'];
       
   109           sep="&";
       
   110         } // else: no URL to return to...
       
   111         
       
   112         // show title banner at top of index.htm?  This option is used by the ExperienceUI website to hide the title area
       
   113         // and make more room for content
       
   114         if(params['banner']) {
       
   115           url=url+sep+"banner="+params['banner'];
       
   116           sep="&";
       
   117         }
       
   118         // for debugging
       
   119         // alert("Returning to: "+url);
       
   120         // end url creation
       
   121         
       
   122         // decide whether to manipulate just current frame or parent window
       
   123         if(params['parent']) {
       
   124           parent.window.location=url;
       
   125         } else {
       
   126           window.location=url;
       
   127         }
       
   128       }
       
   129       
       
   130       function returnTo(page) {
       
   131         // function for returning to the page from which this came
       
   132         // This is the base URL
       
   133         var url="../index.htm"
       
   134         // separator; value is "?" (first param) or "&" (later params)
       
   135         var sep="?";
       
   136         if(page) {
       
   137           // we do have a url to return to
       
   138           url=url+sep+"start="+page;
       
   139           sep="&";
       
   140         } // else: no URL to return to...
       
   141         
       
   142         // show title banner at top of index.htm?  This option is used by the ExperienceUI website to hide the title area
       
   143         // and make more room for content
       
   144         if(params['banner']) {
       
   145           url=url+sep+"banner="+params['banner'];
       
   146           sep="&";
       
   147         }
       
   148         // for debugging
       
   149         // alert("Returning to: "+url);
       
   150         // end url creation
       
   151         
       
   152         // decide whether to manipulate just current frame or parent window
       
   153         if(params['parent']) {
       
   154           parent.window.location=url;
       
   155         } else {
       
   156           window.location=url;
       
   157         }
       
   158       }
       
   159   </script>
       
   160     
       
   161   </head>
       
   162   
       
   163   <body bgcolor="#B0B0B0" style="background-color:#FFFFFF;margin:0px;padding:0px" onload=checkURL();>
       
   164   
       
   165     <table border=0 width=100% height=100%>
       
   166     
       
   167       <tr height=22>
       
   168       
       
   169         <td bgcolor=#B0B0B0 valign=middle unselectable=on>
       
   170           <form action="javascript:url(document.getElementById('adrbar').value)">
       
   171           <a href="javascript:exit();"><img border=0 alt=Exit src=browser/exit.bmp id=exit onmouseup="on('exit')" onmousedown="off('exit')" onmouseover="on('exit')" onmouseout="off('exit')"></a>
       
   172           <a href="javascript:history.back(1)" target=main_frame><img border=0 alt=Back src=browser/back.bmp id=back onmouseup="on('back')" onmousedown="off('back')" onmouseover="on('back')" onmouseout="off('back')"></a>
       
   173           <a href="javascript:history.forward(1)" target=main_frame><img border=0 alt=Forward src=browser/forward.bmp id=forward onmouseup="on('forward')" onmousedown="off('forward')" onmouseover="on('forward')" onmouseout="off('forward')"></a>
       
   174           <a href="javascript:location.reload()" target=main_frame><img border=0 alt=Refresh src=browser/refresh.bmp id=refresh onmouseup="on('refresh')" onmousedown="off('refresh')" onmouseover="on('refresh')" onmouseout="off('refresh')"></a>
       
   175           <a href="javascript:url('http://xpui.sourceforge.net')"><img border=0 alt=Home src=browser/home.bmp id=home onmouseup="on('home')" onmousedown="off('home')" onmouseover="on('home')" onmouseout="off('home')"></a>
       
   176           <input type=text id=adrbar value="about:blank" style=width:500px>
       
   177           <a href="javascript:url(document.getElementById('adrbar').value)"><img border=0 alt=Go src=browser/go.bmp id=go onmouseup="on('go')" onmousedown="off('go')" onmouseover="on('go')" onmouseout="off('go')"></a>
       
   178           </form>
       
   179         </td>
       
   180       
       
   181       </tr>
       
   182     
       
   183       <tr>
       
   184       
       
   185         <td valign=top style=margin:0px;padding:0px bgcolor=#FFFFFF>
       
   186         
       
   187           <iframe src="about:blank" id=main_frame name=main_frame width=100% height=100% frameborder=0 onclick="document.getElementById('adrbar').value=this.src;">
       
   188           </iframe>
       
   189     
       
   190         </td>          
       
   191         
       
   192       </tr>
       
   193       
       
   194       <tr height=16>
       
   195       
       
   196         <td valign=bottom style=margin:0px;padding:0px bgcolor=#B0B0B0>
       
   197     
       
   198           <p class=footer>Copyright &copy; 2004-2006 Dan Fuhry.  All rights except those explicitly given in the <a href="javascript:returnTo('license_agreement.htm');" style=color:#A0A0D0 onmouseover="this.style.color='#A0A0A0'" onmouseout="this.style.color='#A0A0D0'">license agreement</a> reserved.</p>
       
   199   
       
   200         </td>
       
   201         
       
   202       </tr>
       
   203       
       
   204     </table>
       
   205   
       
   206   </body>
       
   207   
       
   208 </html>