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