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