version 1.98, 2003/05/23 16:37:30
|
version 1.102, 2003/06/06 02:24:49
|
Line 59 var currentSymb='';
|
Line 59 var currentSymb='';
|
var reloadSymb=''; |
var reloadSymb=''; |
var currentStale=1; |
var currentStale=1; |
var menucltim; |
var menucltim; |
var noclient=0; |
|
|
|
var clockdelta=0; |
var clockdelta=0; |
|
|
Line 139 function advanceclock() {
|
Line 138 function advanceclock() {
|
} |
} |
|
|
function windowcheck() { |
function windowcheck() { |
if (noclient || (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; |
|
noclient=0; |
|
extenddispclose(); |
extenddispclose(); |
} |
} |
|
|
Line 176 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 277 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; |
noclient=0; |
this.document.server.postdata.value=''; |
|
this.document.server.command.value=''; |
|
this.document.server.url.value=''; |
|
this.document.server.postsymb.value=''; |
|
this.document.server.submit(); |
} |
} |
} |
} |
|
|
Line 295 function gopost(url,postdata) {
|
Line 296 function gopost(url,postdata) {
|
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(); |
noclient=0; |
|
} |
} |
} |
} |
|
|
Line 310 function gocmd(url,cmd) {
|
Line 310 function gocmd(url,cmd) {
|
this.document.server.url.value=currentURL; |
this.document.server.url.value=currentURL; |
this.document.server.postsymb.value=currentSymb; |
this.document.server.postsymb.value=currentSymb; |
this.document.server.submit(); |
this.document.server.submit(); |
noclient=0; |
|
} |
} |
} |
} |
|
|