version 1.75, 2002/11/12 18:20:33
|
version 1.78, 2002/11/13 18:22:55
|
Line 58 var menucltim;
|
Line 58 var menucltim;
|
|
|
var clockdelta=0; |
var clockdelta=0; |
|
|
|
var w_extdisp_flag=-1; |
|
var extdisp; |
|
|
// not used (yet) |
// not used (yet) |
// var w_Annotator; |
// var w_Annotator; |
// var w_bmquery; |
// var w_bmquery; |
Line 136 function windowcheck() {
|
Line 139 function windowcheck() {
|
} |
} |
clientwindow.name='loncapaclient'; |
clientwindow.name='loncapaclient'; |
clientwindow.menuwindow=self; |
clientwindow.menuwindow=self; |
|
extenddispclose(); |
} |
} |
|
|
function logout () { |
function logout () { |
Line 351 function set_bookmark() {
|
Line 355 function set_bookmark() {
|
bmquery.document.close(); |
bmquery.document.close(); |
} |
} |
|
|
|
function extenddispclose() { |
|
if (w_extdisp_flag>0) { |
|
if (extdisp!=null && !extdisp.closed) { |
|
extdisp.close(); |
|
} |
|
w_extdisp_flag=-1; |
|
} |
|
} |
|
|
function extenddisp() { |
function extenddisp() { |
go(''); |
go(''); |
|
w_extdisp_flag=1; |
extdisp=window.open("http://"+clienthost+"/adm/rat/empty.html", |
extdisp=window.open("http://"+clienthost+"/adm/rat/empty.html", |
"ExtDisp", "width=400,height=450"); |
"ExtDisp", "width=400,height=450"); |
extdisp.document.clear(); |
extdisp.document.clear(); |
extdisp.document.writeln( |
extdisp.document.writeln( |
'<html><body bgcolor="#666666" text="#DDDDDD" link="#666666">'+ |
'<html><body bgcolor="#666666" text="#DDDDDD" link="#EEEEEE" '+ |
|
'onUnload="opener.w_extdisp_flag=-1;">'+ |
'<h2>LON-CAPA Extended Display Remote Control</h2>'+ |
'<h2>LON-CAPA Extended Display Remote Control</h2>'+ |
'<script>var currentURL="'+currentURL+'";self.focus();</script>'+ |
'<script>var currentURL="'+currentURL+'";self.focus();</script>'+ |
'<table border="2">'); |
'<table border="2"><tr><th>Select Functionality from Below</th>'+ |
|
'<th>Description</th></tr>'); |
for (var i=0; i<=ds.length; i++) { |
for (var i=0; i<=ds.length; i++) { |
if (typeof(ds[i])!='undefined') { |
if (typeof(ds[i])!='undefined') { |
if (ds[i]!='') { |
if (ds[i]!='') { |
extdisp.document.writeln( |
extdisp.document.writeln( |
'<tr><td><a href="javascript:opener.'+ |
'<tr><td align="center"><a href="javascript:opener.'+ |
hr[i]+';self.close();"><img border="0" src="'+ |
hr[i]+';">>>><img align="absmiddle" border="0" src="'+ |
this.document['b'+i].src+'" /><br />'+ |
this.document['b'+i].src+'" /><<<</a><br /> <br />'+ |
'<table hspace="0" border="0" cellspacing="1" cellpadding="0"><tr>'); |
'<table hspace="0" border="0" cellspacing="1" cellpadding="0"><tr>'); |
for (var j=0;j<=7;j++) { |
for (var j=0;j<=7;j++) { |
if (j<dt[i].length) { |
if (j<dt[i].length) { |