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