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