Annotation of loncom/html/res/adm/pages/menu.html, revision 1.10
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.9 www 7: 10/2,10/3,10/4 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();">
15: <basefont size=1>
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() {
91: go('');
1.6 www 92: window.open("http://"+clienthost+"/adm/annotations?url_new="
93: +clientwindow.location.href, "Annotator",
94: "width=365,height=265,scrollbars=0");
1.2 tyszkabe 95: }
96:
97: function set_bookmark() {
98: go('');
1.6 www 99: prompt("Please enter a name for this bookmark.",
100: clientwindow.window.location.href);
1.2 tyszkabe 101: }
102:
103: function edit_bookmarks() {
104: go('');
1.6 www 105: window.open("http://"+clienthost+"/adm/bookmarks",
106: "BookmarkPal", "width=400,height=505,scrollbars=0");
1.2 tyszkabe 107: }
108:
1.1 www 109: </script>
110:
111: <center>
112: <table border=0 cellspacing=0 cellpadding=0>
113: <tr><td>
114: <a href="javascript:defdis();"
115: onMouseOver="defdis();"
116: ><img border=0 src="title.gif"></a>
117: </td><td>
118: <img border=0 name="led" src="ledoff.gif">
119: </td></tr>
120: </table>
121: <br>
122: <table border=0 cellspacing=1 cellpadding=1>
123: <tr><td bgcolor="#666666">
124: <table border=0 cellspacing=1 cellpadding=0>
125: <tr>
126: <td><img name=i0 src=l.gif></td>
127: <td><img name=i1 src=o.gif></td>
128: <td><img name=i2 src=n.gif></td>
129: <td><img name=i3 src=hyphen.gif></td>
130: <td><img name=i4 src=c.gif></td>
131: <td><img name=i5 src=a.gif></td>
132: <td><img name=i6 src=p.gif></td>
133: <td><img name=i7 src=a.gif></td>
134: </tr>
135: <tr>
136: <td><img name=j0 src=space.gif></td>
137: <td><img name=j1 src=space.gif></td>
138: <td><img name=j2 src=space.gif></td>
139: <td><img name=j3 src=space.gif></td>
140: <td><img name=j4 src=space.gif></td>
141: <td><img name=j5 src=space.gif></td>
142: <td><img name=j6 src=space.gif></td>
143: <td><img name=j7 src=space.gif></td>
144: </tr>
145: </table>
146: </td>
147: </tr>
148: </table><br>
149:
150: <a href="javascript:defdis();"
151: onMouseOver="defdis();"
152: ><img border=0 src="spacer.gif"></a><br>
153:
154: <img src="navmenu.gif" usemap="#navmenuMap" border=0><br>
155:
156: <a href="javascript:defdis();"
157: onMouseOver="defdis();"
158: ><img border=0 src="spacer.gif"></a><br>
159:
160: <img src="fnkmenu.gif" usemap="#fnkmenuMap" border=0><br>
161:
162: <a href="javascript:defdis();"
163: onMouseOver="defdis();"
164: ><img border=0 src="spacer.gif"></a><br>
165:
166: <img src="endmenu.gif" usemap="#endmenuMap" border=0>
167:
168: </center>
169:
170: <MAP NAME="fnkmenuMap">
171: <AREA SHAPE="rect" COORDS="4,3,34,21"
1.2 tyszkabe 172: href="javascript:annotate();"
1.1 www 173: onMouseOver="display('my anno-','tations');"
174: >
175:
176: <AREA SHAPE="rect" COORDS="35,3,65,21"
177: href="javascript:go('');"
178: onMouseOver="display('search','catalog');"
179: >
180:
181: <AREA SHAPE="rect" COORDS="66,3,96,21"
182: href="javascript:go('');"
183: onMouseOver="display('feedback','on this');"
184: >
185:
186: <AREA SHAPE="rect" COORDS="97,3,127,21"
187: href="javascript:go('');"
188: onMouseOver="display('my pre-','ferences');"
189: >
190:
191: <AREA SHAPE="rect" COORDS="4,30,34,48"
192: href="javascript:go('');"
193: onMouseOver="display('catalog','info');"
194: >
195:
196: <AREA SHAPE="rect" COORDS="35,30,65,48"
197: href="javascript:go('');"
198: onMouseOver="display('prepare','printout');"
199: >
200:
201: <AREA SHAPE="rect" COORDS="66,30,96,48"
202: href="javascript:go('');"
203: onMouseOver="display('evaluate','this');"
204: >
205:
206: <AREA SHAPE="rect" COORDS="97,30,127,48"
207: href="javascript:go('');"
208: onMouseOver="display('assign-','ments');"
209: >
210: <area shape="default"
211: href="javascript:defdis();"
212: onMouseOver="defdis()";
213: >
214: </MAP>
215:
216: <MAP NAME="endmenuMap">
217: <AREA SHAPE="rect" COORDS="76,1,131,19"
1.10 ! www 218: href="javascript:logout();"
1.1 www 219: onMouseOver="display('logout','');"
220: >
221: <AREA SHAPE="rect" COORDS="39,0,69,19"
222: href="javascript:go('');"
223: onMouseOver="display('my desk','');"
224: >
225: <AREA SHAPE="rect" COORDS="1,1,30,19"
226: href="javascript:go('');"
227: onMouseOver="display('commu-','nication');"
228: >
229: <area shape="default"
230: href="javascript:defdis();"
231: onMouseOver="defdis()";
232: >
233: </MAP>
234:
235: <MAP NAME="navmenuMap">
236: <AREA SHAPE="rect" COORDS="86,24,110,80"
1.10 ! www 237: href="javascript:windowcheck();gopost('/adm/flip',
1.7 www 238: 'forward:'+clientwindow.window.location.href);"
1.1 www 239: onMouseOver="display('go','forward');"
240: >
241: <AREA SHAPE="rect" COORDS="20,23,44,81"
1.10 ! www 242: href="javascript:windowcheck();gopost('/adm/flip',
1.7 www 243: 'back:'+clientwindow.window.location.href);"
1.1 www 244: onMouseOver="display('go','back');"
245: >
246: <AREA SHAPE="rect" COORDS="35,72,95,97"
1.10 ! www 247: href="javascript:windowcheck();gopost('/adm/flip',
1.8 www 248: 'down:'+clientwindow.window.location.href);"
1.1 www 249: onMouseOver="display('go level','down');"
250: >
251: <AREA SHAPE="rect" COORDS="36,7,94,31"
1.10 ! www 252: href="javascript:windowcheck();gopost('/adm/flip',
1.8 www 253: 'up:'+clientwindow.window.location.href);"
1.1 www 254: onMouseOver="display('go level','up');"
255: >
256: <AREA SHAPE="circle" COORDS="64,51,21"
257: href="javascript:go('');"
258: onMouseOver="display('return','location');"
259: >
260: <AREA SHAPE="polygon" COORDS="2,2,42,2,2,42"
1.5 www 261: href="javascript:go('/adm/roles');"
1.1 www 262: onMouseOver="display('enter','course');"
263: >
264: <AREA SHAPE="polygon" COORDS="2,103,42,103,2,63"
1.2 tyszkabe 265: href="javascript:set_bookmark();"
1.1 www 266: onMouseOver="display('set','bookmark');"
267: >
268: <AREA SHAPE="polygon" COORDS="127,2,87,2,127,42"
269: href="javascript:go('');"
270: onMouseOver="display('navigate','maps');"
271: >
272: <AREA SHAPE="polygon" COORDS="128,102,89,102,128,63"
1.2 tyszkabe 273: href="javascript:edit_bookmarks();"
1.1 www 274: onMouseOver="display('go to','bookmark');"
275: >
276: <area shape="default"
277: href="javascript:defdis();"
278: onMouseOver="defdis()";
279: >
280: </MAP>
1.7 www 281: <form name='server' action='/adm/logout' method='post' target='loncapaclient'>
282: <input type='hidden' name='postdata' value='none'>
283: </form>
1.1 www 284: </body>
285: </html>
286:
287:
288:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>