--- loncom/html/res/adm/pages/menu.html 2002/10/29 20:57:31 1.73 +++ loncom/html/res/adm/pages/menu.html 2002/11/12 18:20:33 1.75 @@ -4,7 +4,7 @@ The LearningOnline Network with CAPA Remote Control // -// $Id: menu.html,v 1.73 2002/10/29 20:57:31 www Exp $ +// $Id: menu.html,v 1.75 2002/11/12 18:20:33 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -77,6 +77,7 @@ var w_LONcatInfo_flag=-1; var hr = new Array; var db = new Array; var dt = new Array; +var ds = new Array; for (var i=1;i<=3;i++) { for (var j=1;j<=10;j++) { @@ -84,6 +85,7 @@ for (var i=1;i<=3;i++) { hr[index]=''; db[index]=''; dt[index]=''; + ds[index]=''; } } @@ -211,12 +213,13 @@ function defdis() { display(); } -function switchbutton(row,col,imgsrc,texttop,textbot,action) { +function switchbutton(row,col,imgsrc,texttop,textbot,action,desc) { var idx=10*row+col; this.document['b'+idx].src="http://"+clienthost+imgpath+imgsrc; hr[idx]=action; dt[idx]=texttop; db[idx]=textbot; + ds[idx]=desc; } function clearbut(row,col) { @@ -225,6 +228,7 @@ function clearbut(row,col) { hr[idx]='javascript:defdis();'; dt[idx]=''; db[idx]=''; + ds[idx]=''; } function setstatus(tp,bt) { @@ -347,6 +351,55 @@ function set_bookmark() { bmquery.document.close(); } +function extenddisp() { + go(''); + extdisp=window.open("http://"+clienthost+"/adm/rat/empty.html", + "ExtDisp", "width=400,height=450"); + extdisp.document.clear(); + extdisp.document.writeln( + '
'+ + ''+ + ' | '+ds[i]+' |