--- loncom/html/res/adm/pages/menu.html 2002/12/06 21:24:49 1.80 +++ loncom/html/res/adm/pages/menu.html 2003/01/29 15:22:06 1.84 @@ -4,7 +4,7 @@ The LearningOnline Network with CAPA Remote Control // -// $Id: menu.html,v 1.80 2002/12/06 21:24:49 albertel Exp $ +// $Id: menu.html,v 1.84 2003/01/29 15:22:06 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -61,6 +61,8 @@ var clockdelta=0; var w_extdisp_flag=-1; var extdisp; +var autologout=1; + // not used (yet) // var w_Annotator; // var w_bmquery; @@ -157,8 +159,9 @@ function logout () { if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) { loncatinfo.close(); } - clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; - + if (autologout) { + clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; + } } function activate () { @@ -224,6 +227,7 @@ function switchbutton(row,col,imgsrc,tex dt[idx]=texttop; db[idx]=textbot; ds[idx]=desc; + eval('this.document.links.link'+idx+'.title="'+desc+'"'); } function clearbut(row,col) { @@ -233,6 +237,7 @@ function clearbut(row,col) { dt[idx]=''; db[idx]=''; ds[idx]=''; + eval('this.document.links.link'+idx+'.title=""'); } function setstatus(tp,bt) { @@ -246,7 +251,7 @@ function setstatus(tp,bt) { function go(url) { windowcheck(); statuslocked=0; - this.document['led'].src="ledsend.gif"; + this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; if (url!='' && url!= null) { currentURL = null; currentSymb= null; @@ -332,7 +337,7 @@ function extenddisp() { go(''); w_extdisp_flag=1; extdisp=window.open("http://"+clienthost+"/adm/rat/empty.html", - "ExtDisp", "width=400,height=450"); + "ExtDisp", "scrollbars=1,width=400,height=450"); extdisp.document.clear(); extdisp.document.writeln( '