--- loncom/html/res/adm/pages/menu.html 2001/05/03 17:51:06 1.27 +++ loncom/html/res/adm/pages/menu.html 2001/06/16 15:08:09 1.36 @@ -10,6 +10,8 @@ Jan Guy Albertelli 2/19 Guy Albertelli 3/21 Gerd Kortemeyer 4/30 Ben Tyszka +5/2 Scott Harrison +5/4,5/9,5/28,5/30,6/1,6/2,6/3,6/8,6/15,6/16 Gerd Kortemeyer --> LON-CAPA Remote @@ -28,7 +30,11 @@ statustop=''; statusbot=''; active=0; +imgpath='/res/adm/pages/'; + var currentURL=''; +var currentStale=1; +var menucltim; // not used (yet) // var w_Annotator; @@ -46,6 +52,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; @@ -77,6 +87,7 @@ function logout () { } function activate () { + opener.menuloaded=1; setTimeout('active=1;',2000); } @@ -87,6 +98,12 @@ function deactivate () { function display(utext,ltext) { var i; var ch; this.window.focus(); + if (utext==undefined) { utext=''; } + if (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( @@ -186,7 +238,7 @@ function catalog_info() {
- +

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

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