Diff for /loncom/html/res/adm/pages/menu.html between versions 1.109 and 1.112

version 1.109, 2003/10/12 22:02:44 version 1.112, 2004/08/13 20:12:11
Line 38  Remote Control Line 38  Remote Control
       background="remotebg.gif"        background="remotebg.gif"
       onUnload="collapse();"        onUnload="collapse();"
       onLoad="activate();"        onLoad="activate();"
         style="{background-repeat: no-repeat;}"
       >        >
 <LONCAPA_INTERNAL_LONHTTPD_PORT />  <LONCAPA_INTERNAL_LONHTTPD_PORT />
 <script type="text/javascript">  <script type="text/javascript">
Line 60  var currentSymb=''; Line 61  var currentSymb='';
 var reloadSymb='';  var reloadSymb='';
 var currentStale=1;  var currentStale=1;
 var menucltim;  var menucltim;
   
 var clockdelta=0;  var clockdelta=0;
   
 var w_extdisp_flag=-1;  var w_extdisp_flag=-1;
Line 80  var w_bmquery_flag=-1; Line 80  var w_bmquery_flag=-1;
 var w_BookmarkPal_flag=-1;  var w_BookmarkPal_flag=-1;
 var w_LONcatInfo_flag=-1;  var w_LONcatInfo_flag=-1;
 var w_LONchat_flag=-1;  var w_LONchat_flag=-1;
   var w_loncapanav_flag=-1;
  // 1 means currently open   // 1 means currently open
  // 0 means closed (but has been open)   // 0 means closed (but has been open)
  // -1 means never yet opened/defined   // -1 means never yet opened/defined
Line 102  for (var i=1;i<=3;i++) { Line 103  for (var i=1;i<=3;i++) {
   
 var clienthost=window.location.host;  var clienthost=window.location.host;
 var clientwindow=opener;  var clientwindow=opener;
   var navwindow;
   
 function syncclock(servertime) {  function syncclock(servertime) {
     var clientclock=new Date;      var clientclock=new Date;
Line 149  function windowcheck() { Line 151  function windowcheck() {
    extenddispclose();     extenddispclose();
 }  }
   
   function navwindowcheck() {
      if (navwindow==null || navwindow.closed) {
         navwindow=window.open("http://"+clienthost+"/adm/navmaps#curloc",
                     "loncapanav","height=600,width=400,scrollbars=1"); 
      }
   }
   
 function collapse() {  function collapse() {
    if (autologout) {     if (autologout) {
        go('/adm/remote?action=collapse');         go('/adm/remote?action=collapse');
Line 250  function go(url) { Line 259  function go(url) {
    }     }
 }  }
   
   function gonav(url) {
      if (w_loncapanav_flag != 1) {
         go(url);
      }  else {
         navwindowcheck();
         statuslocked=0;
         this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
         if (url!='' && url!= null) {
            this.document.server.action="http://"+clienthost+url;
            this.document.server.target="loncapanav";
            this.document.server.postdata.value='';
            this.document.server.command.value='';
            this.document.server.url.value='';
            this.document.server.postsymb.value='';
            this.document.server.submit();
         }
      }
   }
   
 function gopost(url,postdata,makenewwin) {  function gopost(url,postdata,makenewwin) {
    windowcheck();     windowcheck();
    statuslocked=0;     statuslocked=0;
Line 267  function gopost(url,postdata,makenewwin) Line 295  function gopost(url,postdata,makenewwin)
       this.document.server.command.value='';        this.document.server.command.value='';
       this.document.server.url.value='';        this.document.server.url.value='';
       this.document.server.postsymb.value='';        this.document.server.postsymb.value='';
       this.document.server.submit();  
       this.document.server.target='loncapaclient';        this.document.server.target='loncapaclient';
         this.document.server.submit();
    }     }
 }  }
   
Line 458  function showdisplay(utext,ltext) { Line 486  function showdisplay(utext,ltext) {
 <script type="text/javascript">  <script type="text/javascript">
 //<!--  //<!--
 function bigdisplay(dt,db,i) {  function bigdisplay(dt,db,i) {
              extdisp.document.writeln(dt+'<br />'+db);    extdisp.document.writeln(dt[i]+'<br />'+db[i]);
 }  }
   
 function showdisplay(utext,ltext) {  function showdisplay(utext,ltext) {

Removed from v.1.109  
changed lines
  Added in v.1.112


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>