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