version 1.76, 2002/11/12 20:11:10
|
version 1.77, 2002/11/13 16:55:29
|
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="#666666" '+ |
|
'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"><tr><th>Select Functionality from Below</th>'+ |
'<table border="2"><tr><th>Select Functionality from Below</th>'+ |
Line 367 function extenddisp() {
|
Line 382 function extenddisp() {
|
if (ds[i]!='') { |
if (ds[i]!='') { |
extdisp.document.writeln( |
extdisp.document.writeln( |
'<tr><td><a href="javascript:opener.'+ |
'<tr><td><a href="javascript:opener.'+ |
hr[i]+';self.close();"><img border="0" src="'+ |
hr[i]+';"><img border="0" src="'+ |
this.document['b'+i].src+'" /></a><br />'+ |
this.document['b'+i].src+'" /></a><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++) { |