--- loncom/html/res/adm/pages/menu.html 2002/11/13 16:55:29 1.77 +++ loncom/html/res/adm/pages/menu.html 2003/01/15 23:59:26 1.83 @@ -4,7 +4,7 @@ The LearningOnline Network with CAPA Remote Control // -// $Id: menu.html,v 1.77 2002/11/13 16:55:29 www Exp $ +// $Id: menu.html,v 1.83 2003/01/15 23:59:26 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -224,6 +224,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 +234,7 @@ function clearbut(row,col) { dt[idx]=''; db[idx]=''; ds[idx]=''; + eval('this.document.links.link'+idx+'.title=""'); } function setstatus(tp,bt) { @@ -243,46 +245,10 @@ function setstatus(tp,bt) { defdis(); } -function is_editable_resource (url) { -// figure out if this a specific resource version - var Chunks = url.split('.'); - var tmp = Chunks[Chunks.length-1]; - if ((Chunks.length > 1) && (Math.floor(tmp) == tmp)) { - return false; - } -// see if this is actually in resource space - var SlashChunks=url.split('/'); - if (SlashChunks[1]!='res') { return false; } - return true; -} - -function cstrgo(currenturl,defaulturl) { - windowcheck(); - var url; - if ((currenturl == null) || - (currenturl == '') || - (! is_editable_resource(currenturl))) { - url = defaulturl; - } else { - var SlashChunks=currenturl.split('/'); - SlashChunks[1]='priv'; - var i; - for (i=2;i'+ '

LON-CAPA Extended Display Remote Control

'+ ''+ @@ -381,9 +347,9 @@ function extenddisp() { if (typeof(ds[i])!='undefined') { if (ds[i]!='') { extdisp.document.writeln( - '
'+ + '>>><<<
 
'+ ''); for (var j=0;j<=7;j++) { if (j
+> - +
@@ -456,7 +422,7 @@ function catalog_info() { - + @@ -481,66 +447,66 @@ function catalog_info() { - - + + - - - + + + - + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + +