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