Annotation of loncom/html/res/adm/pages/menu.html, revision 1.18
1.1 www 1: <html>
2: <!--
3: The LearningOnline Network with CAPA
4: Remote Control
5: 6/12/00,6/13,6/14,6/15 Gerd Kortemeyer
1.5 www 6: Sept Ben Tyszka
1.15 www 7: 10/2,10/3,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer
1.18 ! www 8: Jan Guy Albertelli
! 9: 5/1/1 Gerd Kortemeyer
1.1 www 10: -->
11: <head>
12: <title>LON-CAPA Remote</title>
13: </head>
14:
15:
16: <body bgcolor="#BBBBBB" background="remotebg.gif" onUnload="logout();">
1.17 albertel 17: <basefont size=1></basefont>
1.1 www 18: <script>
19:
20: statustop='';
21: statusbot='';
22:
23: clienthost=window.location.host;
24: clientwindow=opener;
25:
26: function windowcheck() {
27: if (clientwindow.closed) {
28: clientwindow=window.open("http://"+clienthost+"/");
29: }
1.7 www 30: clientwindow.name='loncapaclient';
1.1 www 31: }
32:
1.5 www 33: function logout () {
1.10 www 34: windowcheck();
35: if (clientwindow.status!='MenuControl:nologout')
36: {
1.9 www 37: clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
38: }
1.1 www 39: }
40:
41: function display(utext,ltext) {
42: var i; var ch;
1.18 ! www 43: this.window.focus();
1.1 www 44: for (i=0;i<=7;i++) {
45: if (i<utext.length) {
46: ch=utext.charAt(i);
47: if (ch==' ') { ch='space'; }
48: if (ch=='-') { ch='hyphen'; }
49: } else { ch='space'; }
50: this.document['i'+i].src=ch+'.gif';
51: }
52: for (i=0;i<=7;i++) {
53: if (i<ltext.length) {
54: ch=ltext.charAt(i);
55: if (ch==' ') { ch='space'; }
56: if (ch=='-') { ch='hyphen'; }
57: } else { ch='space'; }
58: this.document['j'+i].src=ch+'.gif';
59: }
60: }
61:
62: function defdis() {
63: this.window.focus();
64: display(statustop,statusbot);
65: }
66:
67: function setstatus(tp,bt) {
68: this.document['led'].src="ledblink.gif";
69: statustop=tp;
70: statusbot=bt;
71: defdis();
72: endsend();
73: }
74:
75: function go(url) {
1.10 www 76: windowcheck();
1.1 www 77: this.document['led'].src="ledsend.gif";
78: if (url!='') {
1.7 www 79: clientwindow.window.location.href="http://"+clienthost+url;
80: }
81: }
82:
83: function gopost(url,postdata) {
1.10 www 84: windowcheck();
1.7 www 85: this.document['led'].src="ledsend.gif";
86: if (url!='') {
87: this.document.server.action="http://"+clienthost+url;
1.8 www 88: this.document.server.postdata.value=postdata;
1.7 www 89: this.document.server.submit();
1.1 www 90: }
91: }
92:
1.2 tyszkabe 93: function annotate() {
1.11 tyszkabe 94: annotator=window.open('','Annotator','width=365,height=265,scrollbars=0');
1.14 www 95: annotator.document.write(
96: "<html><body onload='Javascript:document.goannotate.submit();'>"
97: +"<form name='goannotate' target='Annotator' method='post' "
98: +"action='/adm/annotations'>"
99: +"<input type='hidden' name='urlnew' value='"+clientwindow.location.href+"'>"
100: +"</form></body></html>");
101: annotator.document.close();
1.2 tyszkabe 102: }
103:
104: function set_bookmark() {
105: go('');
1.6 www 106: prompt("Please enter a name for this bookmark.",
107: clientwindow.window.location.href);
1.2 tyszkabe 108: }
109:
110: function edit_bookmarks() {
111: go('');
1.6 www 112: window.open("http://"+clienthost+"/adm/bookmarks",
113: "BookmarkPal", "width=400,height=505,scrollbars=0");
1.2 tyszkabe 114: }
115:
1.14 www 116: function catalog_info() {
117: go('');
118: window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");
119: }
1.1 www 120: </script>
121:
122: <center>
123: <table border=0 cellspacing=0 cellpadding=0>
124: <tr><td>
125: <a href="javascript:defdis();"
126: onMouseOver="defdis();"
1.16 albertel 127: ><img border=0 src="title.gif"></img></a>
1.1 www 128: </td><td>
1.16 albertel 129: <img border=0 name="led" src="ledoff.gif"> </img>
1.1 www 130: </td></tr>
131: </table>
1.17 albertel 132: <br />
1.1 www 133: <table border=0 cellspacing=1 cellpadding=1>
134: <tr><td bgcolor="#666666">
135: <table border=0 cellspacing=1 cellpadding=0>
136: <tr>
1.16 albertel 137: <td><img name=i0 src=l.gif></img></td>
138: <td><img name=i1 src=o.gif></img></td>
139: <td><img name=i2 src=n.gif></img></td>
140: <td><img name=i3 src=hyphen.gif></img></td>
141: <td><img name=i4 src=c.gif></img></td>
142: <td><img name=i5 src=a.gif></img></td>
143: <td><img name=i6 src=p.gif></img></td>
144: <td><img name=i7 src=a.gif></img></td>
1.1 www 145: </tr>
146: <tr>
1.16 albertel 147: <td><img name=j0 src=space.gif></img></td>
148: <td><img name=j1 src=space.gif></img></td>
149: <td><img name=j2 src=space.gif></img></td>
150: <td><img name=j3 src=space.gif></img></td>
151: <td><img name=j4 src=space.gif></img></td>
152: <td><img name=j5 src=space.gif></img></td>
153: <td><img name=j6 src=space.gif></img></td>
154: <td><img name=j7 src=space.gif></img></td>
1.1 www 155: </tr>
156: </table>
157: </td>
158: </tr>
1.17 albertel 159: </table><br />
1.1 www 160:
161: <a href="javascript:defdis();"
162: onMouseOver="defdis();"
1.17 albertel 163: ><img border=0 src="spacer.gif"></img></a><br />
1.1 www 164:
1.17 albertel 165: <img src="navmenu.gif" usemap="#navmenuMap" border=0></img><br />
1.1 www 166:
167: <a href="javascript:defdis();"
168: onMouseOver="defdis();"
1.17 albertel 169: ><img border=0 src="spacer.gif"></img></a><br />
1.1 www 170:
1.17 albertel 171: <img src="fnkmenu.gif" usemap="#fnkmenuMap" border=0></img><br />
1.1 www 172:
173: <a href="javascript:defdis();"
174: onMouseOver="defdis();"
1.17 albertel 175: ><img border=0 src="spacer.gif"></img></a><br />
1.1 www 176:
1.16 albertel 177: <img src="endmenu.gif" usemap="#endmenuMap" border=0></img>
1.1 www 178:
179: </center>
180:
1.17 albertel 181: <map name="fnkmenuMap">
182: <area shape="rect" coords="4,3,34,21"
1.2 tyszkabe 183: href="javascript:annotate();"
1.1 www 184: onMouseOver="display('my anno-','tations');"
1.17 albertel 185: ></area>
1.1 www 186:
1.17 albertel 187: <area shape="rect" coords="35,3,65,21"
1.15 www 188: href="javascript:go('/adm/searchcat');"
1.1 www 189: onMouseOver="display('search','catalog');"
1.17 albertel 190: ></area>
1.1 www 191:
1.17 albertel 192: <area shape="rect" coords="66,3,96,21"
1.15 www 193: href="javascript:gopost('/adm/feedback',
194: clientwindow.window.location.href);"
1.1 www 195: onMouseOver="display('feedback','on this');"
1.17 albertel 196: ></area>
1.1 www 197:
1.17 albertel 198: <area shape="rect" coords="97,3,127,21"
1.15 www 199: href="javascript:go('/adm/preferences');"
1.1 www 200: onMouseOver="display('my pre-','ferences');"
1.17 albertel 201: ></area>
1.1 www 202:
1.17 albertel 203: <area shape="rect" coords="4,30,34,48"
1.14 www 204: href="javascript:catalog_info('');"
1.1 www 205: onMouseOver="display('catalog','info');"
1.17 albertel 206: ></area>
1.1 www 207:
1.17 albertel 208: <area shape="rect" coords="35,30,65,48"
1.15 www 209: href="javascript:gopost('/adm/printout',
210: clientwindow.window.location.href);"
1.1 www 211: onMouseOver="display('prepare','printout');"
1.17 albertel 212: ></area>
1.1 www 213:
1.17 albertel 214: <area shape="rect" coords="66,30,96,48"
1.15 www 215: href="javascript:gopost('/adm/evaluate',
216: clientwindow.window.location.href);"
1.1 www 217: onMouseOver="display('evaluate','this');"
1.17 albertel 218: ></area>
1.1 www 219:
1.17 albertel 220: <area shape="rect" coords="97,30,127,48"
1.15 www 221: href="javascript:go('/adm/assignments');"
1.1 www 222: onMouseOver="display('assign-','ments');"
1.17 albertel 223: ></area>
1.1 www 224: <area shape="default"
225: href="javascript:defdis();"
226: onMouseOver="defdis()";
1.17 albertel 227: ></area>
228: </map>
1.1 www 229:
1.17 albertel 230: <map name="endmenuMap">
231: <area shape="rect" coords="76,1,131,19"
1.10 www 232: href="javascript:logout();"
1.1 www 233: onMouseOver="display('logout','');"
1.17 albertel 234: ></area>
235: <area shape="rect" coords="39,0,69,19"
1.15 www 236: href="javascript:go('/adm/mydesk');"
1.1 www 237: onMouseOver="display('my desk','');"
1.17 albertel 238: ></area>
239: <area shape="rect" coords="1,1,30,19"
1.15 www 240: href="javascript:go('/adm/communicate');"
1.1 www 241: onMouseOver="display('commu-','nication');"
1.17 albertel 242: ></area>
1.1 www 243: <area shape="default"
244: href="javascript:defdis();"
245: onMouseOver="defdis()";
1.17 albertel 246: ></area>
247: </map>
1.1 www 248:
1.17 albertel 249: <map name="navmenuMap">
250: <area shape="rect" coords="86,24,110,80"
1.10 www 251: href="javascript:windowcheck();gopost('/adm/flip',
1.7 www 252: 'forward:'+clientwindow.window.location.href);"
1.1 www 253: onMouseOver="display('go','forward');"
1.17 albertel 254: ></area>
255: <area shape="rect" coords="20,23,44,81"
1.10 www 256: href="javascript:windowcheck();gopost('/adm/flip',
1.7 www 257: 'back:'+clientwindow.window.location.href);"
1.1 www 258: onMouseOver="display('go','back');"
1.17 albertel 259: ></area>
260: <area shape="rect" coords="35,72,95,97"
1.10 www 261: href="javascript:windowcheck();gopost('/adm/flip',
1.8 www 262: 'down:'+clientwindow.window.location.href);"
1.1 www 263: onMouseOver="display('go level','down');"
1.17 albertel 264: ></area>
265: <area shape="rect" coords="36,7,94,31"
1.10 www 266: href="javascript:windowcheck();gopost('/adm/flip',
1.8 www 267: 'up:'+clientwindow.window.location.href);"
1.1 www 268: onMouseOver="display('go level','up');"
1.17 albertel 269: ></area>
270: <area shape="circle" coords="64,51,21"
1.12 www 271: href="javascript:windowcheck();gopost('/adm/flip',
1.13 www 272: 'return:');"
1.1 www 273: onMouseOver="display('return','location');"
1.17 albertel 274: ></area>
275: <area shape="polygon" coords="2,2,42,2,2,42"
1.5 www 276: href="javascript:go('/adm/roles');"
1.1 www 277: onMouseOver="display('enter','course');"
1.17 albertel 278: ></area>
279: <area shape="polygon" coords="2,103,42,103,2,63"
1.2 tyszkabe 280: href="javascript:set_bookmark();"
1.1 www 281: onMouseOver="display('set','bookmark');"
1.17 albertel 282: ></area>
283: <area shape="polygon" coords="127,2,87,2,127,42"
1.15 www 284: href="javascript:gopost('/adm/navmaps',
285: clientwindow.window.location.href);"
1.1 www 286: onMouseOver="display('navigate','maps');"
1.17 albertel 287: ></area>
288: <area shape="polygon" coords="128,102,89,102,128,63"
1.2 tyszkabe 289: href="javascript:edit_bookmarks();"
1.1 www 290: onMouseOver="display('go to','bookmark');"
1.17 albertel 291: ></area>
1.1 www 292: <area shape="default"
293: href="javascript:defdis();"
294: onMouseOver="defdis()";
1.17 albertel 295: ></area>
296: </map>
1.7 www 297: <form name='server' action='/adm/logout' method='post' target='loncapaclient'>
1.17 albertel 298: <input type='hidden' name='postdata' value='none'></input>
1.7 www 299: </form>
1.1 www 300: </body>
1.17 albertel 301: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>