<html>
<!--
The LearningOnline Network with CAPA
Remote Control
6/12/00,6/13,6/14,6/15 Gerd Kortemeyer
Sept Ben Tyszka
10/2,10/3,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer
Jan Guy Albertelli
5/1/1 Gerd Kortemeyer
2/19 Guy Albertelli
3/21 Gerd Kortemeyer
4/30 Ben Tyszka
-->
<head>
<title>LON-CAPA Remote</title>
</head>
<body bgcolor="#BBBBBB"
background="remotebg.gif"
onLoad="activate();"
onUnload="logout();">
<basefont size="1" />
<script type="text/javascript">
<!--
statustop='';
statusbot='';
active=0;
// not used (yet)
// var w_Annotator;
// var w_bmquery;
// var w_BookmarkPal;
// var w_LONcatInfo;
//////////////////////////////////////
var w_Annotator_flag=-1;
var w_bmquery_flag=-1;
var w_BookmarkPal_flag=-1;
var w_LONcatInfo_flag=-1;
// 1 means currently open
// 0 means closed (but has been open)
// -1 means never yet opened/defined
///////////////////////////////////////
clienthost=window.location.host;
clientwindow=opener;
function windowcheck() {
if (clientwindow.closed) {
clientwindow=window.open("http://"+clienthost+"/");
}
clientwindow.name='loncapaclient';
}
function logout () {
windowcheck();
if (clientwindow.status!='MenuControl:nologout')
{
if (w_Annotator_flag!=-1 && annotator && !annotator.closed) {
annotator.close();
}
if (w_bmquery_flag!=-1 && bmquery && !bmquery.closed) {
bmquery.close();
}
if (w_BookmarkPal_flag!=-1 && bookmarkpal && !bookmarkpal.closed) {
bookmarkpal.close();
}
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) {
loncatinfo.close();
}
clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
}
}
function activate () {
setTimeout('active=1;',2000);
}
function deactivate () {
active=0;
}
function display(utext,ltext) {
var i; var ch;
this.window.focus();
if (active) {
for (i=0;i<=7;i++) {
if (i<utext.length) {
ch=utext.charAt(i);
if (ch==' ') { ch='space'; }
if (ch=='-') { ch='hyphen'; }
} else { ch='space'; }
this.document['i'+i].src=ch+'.gif';
}
for (i=0;i<=7;i++) {
if (i<ltext.length) {
ch=ltext.charAt(i);
if (ch==' ') { ch='space'; }
if (ch=='-') { ch='hyphen'; }
} else { ch='space'; }
this.document['j'+i].src=ch+'.gif';
}
}
}
function defdis() {
this.window.focus();
display(statustop,statusbot);
}
function setstatus(tp,bt) {
this.document['led'].src="ledblink.gif";
statustop=tp;
statusbot=bt;
defdis();
endsend();
}
function go(url) {
windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
clientwindow.window.location.href="http://"+clienthost+url;
}
}
function gopost(url,postdata) {
windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
this.document.server.action="http://"+clienthost+url;
this.document.server.postdata.value=postdata;
this.document.server.submit();
}
}
function annotate() {
w_Annotator_flag=1;
annotator=window.open('','Annotator','width=365,height=265,scrollbars=0');
annotator.document.write(
"<html><body onload='Javascript:document.goannotate.submit();'>"
+"<form name='goannotate' target='Annotator' method='post' "
+"action='/adm/annotations'>"
+"<input type='hidden' name='urlnew' value='"+clientwindow.location.href+"'>"
+"</form></body></html>");
annotator.document.close();
}
function set_bookmark() {
go('');
clienttitle="Enter Title";
clienthref="Enter Address";
w_bmquery_flag=1;
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0');
bmquery.document.write(
"<html><body bgcolor='bbbbbb'><center><form method='post'"
+" name='newlink' action='/adm/bookmarks' target='bmquery' "
+">\n <table width=340 height=150 "
+"bgcolor='ffffff' align=center><tr><td>Link Name:<br><input "
+"type='text' name='title' size=45 value='"+clienttitle+"'>"
+"<br>Address:<br><input type='text' name='address' size='45' "
+"value='"+clienthref+"'><br><center><input type='submit' "
+"value='Save'> <input type='button' value='Close (no save)' "
+"onclick='javascript:window.close();'></center></td>"
+"</tr></table></form></center></body></html>");
bmquery.document.close();
}
function edit_bookmarks() {
go('');
w_BookmarkPal_flag=1;
bookmarkpal=window.open("http://"+clienthost+"/adm/bookmarks",
"BookmarkPal", "width=400,height=505,scrollbars=0");
}
function catalog_info() {
go('');
w_LONcatInfo_flag=1;
loncatinfo=window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");
}
// -->
</script>
<center>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td>
<a href="javascript:defdis();"
onMouseOver="defdis();"
><img border="0" src="title.gif"></img></a>
</td><td>
<img border="0" name="led" src="ledoff.gif"> </img>
</td></tr>
</table>
<br />
<table border="0" cellspacing="1" cellpadding="1">
<tr><td bgcolor="#666666">
<table border="0" cellspacing="1" cellpadding="0">
<tr>
<td><img name="i0" src="l.gif"></img></td>
<td><img name="i1" src="o.gif"></img></td>
<td><img name="i2" src="n.gif"></img></td>
<td><img name="i3" src="hyphen.gif"></img></td>
<td><img name="i4" src="c.gif"></img></td>
<td><img name="i5" src="a.gif"></img></td>
<td><img name="i6" src="p.gif"></img></td>
<td><img name="i7" src="a.gif"></img></td>
</tr>
<tr>
<td><img name="j0" src="space.gif"></img></td>
<td><img name="j1" src="space.gif"></img></td>
<td><img name="j2" src="space.gif"></img></td>
<td><img name="j3" src="space.gif"></img></td>
<td><img name="j4" src="space.gif"></img></td>
<td><img name="j5" src="space.gif"></img></td>
<td><img name="j6" src="space.gif"></img></td>
<td><img name="j7" src="space.gif"></img></td>
</tr>
</table>
</td>
</tr>
</table><br />
<a href="javascript:defdis();"
onMouseOver="defdis();"
><img border="0" src="spacer.gif"></img></a><br />
<img src="navmenu.gif" usemap="#navmenuMap" border="0"></img><br />
<a href="javascript:defdis();"
onMouseOver="defdis();"
><img border="0" src="spacer.gif"></img></a><br />
<img src="fnkmenu.gif" usemap="#fnkmenuMap" border="0"></img><br />
<a href="javascript:defdis();"
onMouseOver="defdis();"
><img border="0" src="spacer.gif"></img></a><br />
<img src="endmenu.gif" usemap="#endmenuMap" border="0"></img>
</center>
<map name="fnkmenuMap">
<area shape="rect" coords="4,3,34,21"
href="javascript:annotate();"
onMouseOver="display('my anno-','tations');"
></area>
<area shape="rect" coords="35,3,65,21"
href="javascript:go('/adm/searchcat');"
onMouseOver="display('search','catalog');"
></area>
<area shape="rect" coords="66,3,96,21"
href="javascript:gopost('/adm/feedback',
clientwindow.window.location.href);"
onMouseOver="display('feedback','on this');"
></area>
<area shape="rect" coords="97,3,127,21"
href="javascript:go('/adm/preferences');"
onMouseOver="display('my pre-','ferences');"
></area>
<area shape="rect" coords="4,30,34,48"
href="javascript:catalog_info('');"
onMouseOver="display('catalog','info');"
></area>
<area shape="rect" coords="35,30,65,48"
href="javascript:gopost('/adm/printout',
clientwindow.window.location.href);"
onMouseOver="display('prepare','printout');"
></area>
<area shape="rect" coords="66,30,96,48"
href="javascript:gopost('/adm/evaluate',
clientwindow.window.location.href);"
onMouseOver="display('evaluate','this');"
></area>
<area shape="rect" coords="97,30,127,48"
href="javascript:go('/adm/assignments');"
onMouseOver="display('assign-','ments');"
></area>
<area shape="default"
href="javascript:defdis();"
onMouseOver="defdis();"
></area>
</map>
<map name="endmenuMap">
<area shape="rect" coords="76,1,131,19"
href="javascript:logout();"
onMouseOver="display('logout','');"
></area>
<area shape="rect" coords="39,0,69,19"
href="javascript:go('/adm/mydesk');"
onMouseOver="display('my desk','');"
></area>
<area shape="rect" coords="1,1,30,19"
href="javascript:go('/adm/communicate');"
onMouseOver="display('commu-','nication');"
></area>
<area shape="default"
href="javascript:defdis();"
onMouseOver="defdis();"
></area>
</map>
<map name="navmenuMap">
<area shape="rect" coords="86,24,110,80"
href="javascript:windowcheck();gopost('/adm/flip',
'forward:'+clientwindow.window.location.href);"
onMouseOver="display('go','forward');"
></area>
<area shape="rect" coords="20,23,44,81"
href="javascript:windowcheck();gopost('/adm/flip',
'back:'+clientwindow.window.location.href);"
onMouseOver="display('go','back');"
></area>
<area shape="rect" coords="35,72,95,97"
href="javascript:windowcheck();gopost('/adm/flip',
'down:'+clientwindow.window.location.href);"
onMouseOver="display('go level','down');"
></area>
<area shape="rect" coords="36,7,94,31"
href="javascript:windowcheck();gopost('/adm/flip',
'up:'+clientwindow.window.location.href);"
onMouseOver="display('go level','up');"
></area>
<area shape="circle" coords="64,51,21"
href="javascript:windowcheck();gopost('/adm/flip',
'return:');"
onMouseOver="display('return','location');"
></area>
<area shape="polygon" coords="2,2,42,2,2,42"
href="javascript:go('/adm/roles');"
onMouseOver="display('enter','course');"
></area>
<area shape="polygon" coords="2,103,42,103,2,63"
href="javascript:set_bookmark();"
onMouseOver="display('set','bookmark');"
></area>
<area shape="polygon" coords="127,2,87,2,127,42"
href="javascript:gopost('/adm/navmaps',
clientwindow.window.location.href);"
onMouseOver="display('navigate','maps');"
></area>
<area shape="polygon" coords="128,102,89,102,128,63"
href="javascript:edit_bookmarks();"
onMouseOver="display('go to','bookmark');"
></area>
<area shape="default"
href="javascript:defdis();"
onMouseOver="defdis();"
></area>
</map>
<form name='server' action='/adm/logout' method='post' target='loncapaclient'>
<input type='hidden' name='postdata' value='none'></input>
</form>
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>