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