version 1.96, 2003/04/30 21:26:47
|
version 1.106, 2003/08/15 21:40:47
|
Line 141 function windowcheck() {
|
Line 141 function windowcheck() {
|
if (clientwindow==null || clientwindow.closed) { |
if (clientwindow==null || clientwindow.closed) { |
clientwindow=window.open("http://"+clienthost+"/",'', |
clientwindow=window.open("http://"+clienthost+"/",'', |
"height=400,width=440,"+ |
"height=400,width=440,"+ |
"scrollbars=1,toolbar=1,status=1,resizable=1,location=1,"+ |
"scrollbars=1,toolbar=1,status=1,resizable=1,location=1,menubar=1,"+ |
"left=190,top=15,screenX=190,screenY=15"); |
"left=190,top=15,screenX=190,screenY=15"); |
|
clientwindow.name='loncapaclient'; |
} |
} |
clientwindow.name='loncapaclient'; |
|
clientwindow.menuwindow=self; |
|
extenddispclose(); |
extenddispclose(); |
} |
} |
|
|
Line 174 function logout () {
|
Line 173 function logout () {
|
lonchat.close(); |
lonchat.close(); |
} |
} |
if (autologout) { |
if (autologout) { |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
go("/adm/logout"); |
} |
} |
} |
} |
|
|
Line 275 function go(url) {
|
Line 274 function go(url) {
|
statuslocked=0; |
statuslocked=0; |
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
if (url!='' && url!= null) { |
if (url!='' && url!= null) { |
currentURL = null; |
currentURL = null; |
currentSymb= null; |
currentSymb= null; |
clientwindow.window.location.href="http://"+clienthost+url; |
this.document.server.action="http://"+clienthost+url; |
|
this.document.server.postdata.value=''; |
|
this.document.server.command.value=''; |
|
this.document.server.url.value=''; |
|
this.document.server.postsymb.value=''; |
|
this.document.server.submit(); |
} |
} |
} |
} |
|
|
function gopost(url,postdata) { |
function gopost(url,postdata,makenewwin) { |
windowcheck(); |
windowcheck(); |
statuslocked=0; |
statuslocked=0; |
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif"; |
if (url!='') { |
if (url!='') { |
|
if (makenewwin) { |
|
var LONcomWin=window.open("http://"+clienthost+"/adm/rat/empty.html", |
|
'LONcom', |
|
"height=400,width=540,"+ |
|
"scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0"); |
|
this.document.server.target='LONcom'; |
|
} |
this.document.server.action="http://"+clienthost+url; |
this.document.server.action="http://"+clienthost+url; |
this.document.server.postdata.value=postdata; |
this.document.server.postdata.value=postdata; |
this.document.server.command.value=''; |
this.document.server.command.value=''; |
this.document.server.url.value=''; |
this.document.server.url.value=''; |
this.document.server.postsymb.value=''; |
this.document.server.postsymb.value=''; |
this.document.server.submit(); |
this.document.server.submit(); |
|
this.document.server.target='loncapaclient'; |
} |
} |
} |
} |
|
|
Line 421 function edit_bookmarks() {
|
Line 433 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",'height=320,width=280,resizeable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no'); |
loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"cat",'height=320,width=280,resizable=yes,scrollbars=yes,location=no,menubar=no,toolbar=no'); |
} |
} |
|
|
function chat_win() { |
function chat_win() { |
go(''); |
go(''); |
w_LONchat_flag=1; |
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'); |
lonchat=window.open('/res/adm/pages/chatroom.html',"LONchat",'height=320,width=280,resizable=yes,location=no,menubar=no,toolbar=no'); |
} |
} |
// --> |
// --> |
</script> |
</script> |