--- loncom/html/res/adm/pages/menu.html 2000/10/02 14:16:34 1.5 +++ loncom/html/res/adm/pages/menu.html 2000/10/02 18:51:53 1.6 @@ -68,22 +68,27 @@ function setstatus(tp,bt) { function go(url) { this.document['led'].src="ledsend.gif"; if (url!='') { + clientwindow.window.location.href="http://"+clienthost+url; } } function annotate() { go(''); - window.open("/adm/annotations?url_new="+clientwindow.location.href, "Annotator", "width=365,height=265,scrollbars=0"); + window.open("http://"+clienthost+"/adm/annotations?url_new=" + +clientwindow.location.href, "Annotator", + "width=365,height=265,scrollbars=0"); } function set_bookmark() { go(''); - prompt("Please enter a name for this bookmark.", clientwindow.window.location.href); + prompt("Please enter a name for this bookmark.", + clientwindow.window.location.href); } function edit_bookmarks() { go(''); - window.open("/adm/bookmarks","BookmarkPal", "width=400,height=505,scrollbars=0"); + window.open("http://"+clienthost+"/adm/bookmarks", + "BookmarkPal", "width=400,height=505,scrollbars=0"); }