--- loncom/html/res/adm/pages/menu.html 2000/06/28 03:11:52 1.1
+++ loncom/html/res/adm/pages/menu.html 2001/01/04 19:17:19 1.16
@@ -3,6 +3,8 @@
The LearningOnline Network with CAPA
Remote Control
6/12/00,6/13,6/14,6/15 Gerd Kortemeyer
+Sept Ben Tyszka
+10/2,10/3,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer
-->
LON-CAPA Remote
@@ -23,11 +25,15 @@ function windowcheck() {
if (clientwindow.closed) {
clientwindow=window.open("http://"+clienthost+"/");
}
+ clientwindow.name='loncapaclient';
}
function logout () {
windowcheck();
- clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
+ if (clientwindow.status!='MenuControl:nologout')
+ {
+ clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
+ }
}
function display(utext,ltext) {
@@ -64,11 +70,50 @@ function setstatus(tp,bt) {
}
function go(url) {
+ windowcheck();
+ this.document['led'].src="ledsend.gif";
+ if (url!='') {
+ clientwindow.window.location.href="http://"+clienthost+url;
+ }
+}
+
+function gopost(url,postdata) {
+ windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
+ this.document.server.action="http://"+clienthost+url;
+ this.document.server.postdata.value=postdata;
+ this.document.server.submit();
}
}
+function annotate() {
+ annotator=window.open('','Annotator','width=365,height=265,scrollbars=0');
+ annotator.document.write(
+ ""
+ +"");
+ annotator.document.close();
+}
+
+function set_bookmark() {
+ go('');
+ prompt("Please enter a name for this bookmark.",
+ clientwindow.window.location.href);
+}
+
+function edit_bookmarks() {
+ go('');
+ window.open("http://"+clienthost+"/adm/bookmarks",
+ "BookmarkPal", "width=400,height=505,scrollbars=0");
+}
+
+function catalog_info() {
+ go('');
+ window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");
+}
@@ -76,9 +121,9 @@ function go(url) {
+>
|
-
+
|
@@ -86,24 +131,24 @@ function go(url) {
- |
- |
- |
- |
- |
- |
- |
- |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
- |
- |
- |
- |
- |
- |
- |
- |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
|
@@ -114,60 +159,63 @@ function go(url) {
onMouseOver="defdis();"
>
-
+
+>
+>
-
+
-
+