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