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