--- loncom/html/res/adm/pages/menu.html 2001/05/09 22:59:21 1.30 +++ loncom/html/res/adm/pages/menu.html 2001/11/29 19:26:25 1.40 @@ -2,6 +2,33 @@ LON-CAPA Remote @@ -20,7 +49,6 @@ Jan Guy Albertelli @@ -30,8 +58,11 @@ statustop=''; statusbot=''; active=0; +imgpath='/res/adm/pages/'; + var currentURL=''; var currentStale=1; +var menucltim; // not used (yet) // var w_Annotator; @@ -49,6 +80,10 @@ var w_LONcatInfo_flag=-1; // -1 means never yet opened/defined /////////////////////////////////////// +hr=new Array; +db=new Array; +dt=new Array; + clienthost=window.location.host; clientwindow=opener; @@ -80,6 +115,7 @@ function logout () { } function activate () { + opener.menuloaded=1; setTimeout('active=1;',2000); } @@ -90,6 +126,12 @@ function deactivate () { function display(utext,ltext) { var i; var ch; this.window.focus(); + if (typeof(utext)=="undefined") { utext=''; } + if (typeof(ltext)=="undefined") { ltext=''; } + if ((utext=='') && (ltext=='')) { + utext=statustop; + ltext=statusbot; + } if (active) { for (i=0;i<=7;i++) { if (i" +"
" - +"" + +"" +"
"); annotator.document.close(); } function set_bookmark() { go(''); - clienttitle="Enter Title"; - clienthref="Enter Address"; + if (currentStale) { + clienttitle="Enter Title"; + clienthref=currentURL; + } else { + clienttitle=clientwindow.document.title; + clienthref=clientwindow.location.pathname; + } w_bmquery_flag=1; bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); bmquery.document.write( @@ -189,7 +266,7 @@ function catalog_info() {
- +

-
+ -
+ + + + -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
+ + + + + +