version 1.19, 2001/02/19 21:01:26
|
version 1.26, 2001/05/03 13:45:49
|
Line 8 Sept Ben Tyszka
|
Line 8 Sept Ben Tyszka
|
Jan Guy Albertelli |
Jan Guy Albertelli |
5/1/1 Gerd Kortemeyer |
5/1/1 Gerd Kortemeyer |
2/19 Guy Albertelli |
2/19 Guy Albertelli |
|
3/21 Gerd Kortemeyer |
|
4/30 Ben Tyszka |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
</head> |
</head> |
|
|
|
|
<body bgcolor="#BBBBBB" background="remotebg.gif" onUnload="logout();"> |
<body bgcolor="#BBBBBB" |
|
background="remotebg.gif" |
|
onLoad="activate();" |
|
onUnload="logout();"> |
<basefont size="1" /> |
<basefont size="1" /> |
|
|
<script type="text/javascript"> |
<script type="text/javascript"> |
<!-- |
<!-- |
statustop=''; |
statustop=''; |
statusbot=''; |
statusbot=''; |
|
active=0; |
|
|
|
var currentURL='/res/adm/pages/index.html'; |
|
|
|
// 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; |
clienthost=window.location.host; |
clientwindow=opener; |
clientwindow=opener; |
Line 36 function logout () {
|
Line 60 function logout () {
|
windowcheck(); |
windowcheck(); |
if (clientwindow.status!='MenuControl:nologout') |
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"; |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
} |
} |
} |
} |
|
|
|
function activate () { |
|
setTimeout('active=1;',2000); |
|
} |
|
|
|
function deactivate () { |
|
active=0; |
|
} |
|
|
function display(utext,ltext) { |
function display(utext,ltext) { |
var i; var ch; |
var i; var ch; |
this.window.focus(); |
this.window.focus(); |
|
if (active) { |
for (i=0;i<=7;i++) { |
for (i=0;i<=7;i++) { |
if (i<utext.length) { |
if (i<utext.length) { |
ch=utext.charAt(i); |
ch=utext.charAt(i); |
Line 59 function display(utext,ltext) {
|
Line 104 function display(utext,ltext) {
|
} else { ch='space'; } |
} else { ch='space'; } |
this.document['j'+i].src=ch+'.gif'; |
this.document['j'+i].src=ch+'.gif'; |
} |
} |
|
} |
} |
} |
|
|
function defdis() { |
function defdis() { |
Line 93 function gopost(url,postdata) {
|
Line 139 function gopost(url,postdata) {
|
} |
} |
|
|
function annotate() { |
function annotate() { |
|
w_Annotator_flag=1; |
annotator=window.open('','Annotator','width=365,height=265,scrollbars=0'); |
annotator=window.open('','Annotator','width=365,height=265,scrollbars=0'); |
annotator.document.write( |
annotator.document.write( |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
Line 105 function annotate() {
|
Line 152 function annotate() {
|
|
|
function set_bookmark() { |
function set_bookmark() { |
go(''); |
go(''); |
prompt("Please enter a name for this bookmark.", |
clienttitle="Enter Title"; |
clientwindow.window.location.href); |
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() { |
function edit_bookmarks() { |
go(''); |
go(''); |
window.open("http://"+clienthost+"/adm/bookmarks", |
w_BookmarkPal_flag=1; |
|
bookmarkpal=window.open("http://"+clienthost+"/adm/bookmarks", |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
} |
} |
|
|
function catalog_info() { |
function catalog_info() { |
go(''); |
go(''); |
window.open(clientwindow.window.location.href+'.meta',"LONcatInfo"); |
w_LONcatInfo_flag=1; |
|
loncatinfo=window.open(clientwindow.window.location.href+'.meta',"LONcatInfo"); |
} |
} |
--> |
// --> |
</script> |
</script> |
|
|
<center> |
<center> |
Line 301 function catalog_info() {
|
Line 364 function catalog_info() {
|
<input type='hidden' name='postdata' value='none'></input> |
<input type='hidden' name='postdata' value='none'></input> |
</form> |
</form> |
</body> |
</body> |
</html> |
|
|
|
|
</html> |