version 1.92, 2003/04/04 19:35:04
|
version 1.94, 2003/04/11 15:28:23
|
Line 79 var w_Annotator_flag=-1;
|
Line 79 var w_Annotator_flag=-1;
|
var w_bmquery_flag=-1; |
var w_bmquery_flag=-1; |
var w_BookmarkPal_flag=-1; |
var w_BookmarkPal_flag=-1; |
var w_LONcatInfo_flag=-1; |
var w_LONcatInfo_flag=-1; |
|
var w_LONchat_flag=-1; |
// 1 means currently open |
// 1 means currently open |
// 0 means closed (but has been open) |
// 0 means closed (but has been open) |
// -1 means never yet opened/defined |
// -1 means never yet opened/defined |
Line 170 function logout () {
|
Line 171 function logout () {
|
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) { |
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) { |
loncatinfo.close(); |
loncatinfo.close(); |
} |
} |
|
if (w_LONchat_flag!=-1 && lonchat && !lonchat.closed) { |
|
lonchat.close(); |
|
} |
if (autologout) { |
if (autologout) { |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
} |
} |
Line 365 function drawwindow() {
|
Line 369 function drawwindow() {
|
'<html><body bgcolor="#666666" text="#DDDDDD" link="#EEEEEE" '+ |
'<html><body bgcolor="#666666" text="#DDDDDD" link="#EEEEEE" '+ |
'onUnload="opener.w_extdisp_flag=-1;">'+ |
'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 type="text/javascript">var currentURL="'+currentURL+'";self.focus();</s'+'cript>'+ |
'<table border="2"><tr><th>Select Functionality from Below</th>'+ |
'<table border="2"><tr><th>Select Functionality from Below</th>'+ |
'<th>Description</th></tr>'); |
'<th>Description</th></tr>'); |
for (var i=0; i<=ds.length; i++) { |
for (var i=0; i<=ds.length; i++) { |
Line 418 function edit_bookmarks() {
|
Line 422 function edit_bookmarks() {
|
function catalog_info() { |
function catalog_info() { |
go(''); |
go(''); |
w_LONcatInfo_flag=1; |
w_LONcatInfo_flag=1; |
loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo"); |
loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo",'height=320,width=280,resizeable=yes,location=no,menubar=no,toolbar=no'); |
|
} |
|
|
|
function chat_win() { |
|
go(''); |
|
w_LONchat_flag=1; |
|
lonchat=window.open('/res/adm/pages/chatroom.html',"LONchat",'height=320,width=280,resizeable=yes,location=no,menubar=no,toolbar=no'); |
} |
} |
// --> |
// --> |
</script> |
</script> |