version 1.45, 2002/03/19 20:30:07
|
version 1.49, 2002/05/06 21:59:29
|
Line 44 Jan Guy Albertelli
|
Line 44 Jan Guy Albertelli
|
YEAR=2002 |
YEAR=2002 |
March 2002 Matthew Hall |
March 2002 Matthew Hall |
3/19 Gerd Kortemeyer |
3/19 Gerd Kortemeyer |
|
5/6/02 Matthew Hall |
|
|
|
// Note: use of style="background-image: url(remotebg.gif)" |
|
// in body tag causes trouble for NS4.x on multiple platforms. |
|
|
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 51 March 2002 Matthew Hall
|
Line 56 March 2002 Matthew Hall
|
|
|
|
|
<body bgcolor="#BBBBBB" |
<body bgcolor="#BBBBBB" |
background="remotebg.gif"> |
background="remotebg.gif" |
|
onUnload="logout();" |
|
> |
|
<style type="text/css"> |
|
</style> |
<basefont size="1" /> |
<basefont size="1" /> |
|
|
<script type="text/javascript"> |
<script type="text/javascript"> |
Line 89 var dt = new Array;
|
Line 98 var dt = new Array;
|
for (var i=1;i<=3;i++) { |
for (var i=1;i<=3;i++) { |
for (var j=1;j<=10;j++) { |
for (var j=1;j<=10;j++) { |
var index = 10*j+i; |
var index = 10*j+i; |
hr[index]=null; |
hr[index]=''; |
db[index]=null; |
db[index]=''; |
dt[index]=null; |
dt[index]=''; |
} |
} |
} |
} |
|
|
Line 140 function deactivate () {
|
Line 149 function deactivate () {
|
function display(utext,ltext) { |
function display(utext,ltext) { |
var i; var ch; |
var i; var ch; |
this.window.focus(); |
this.window.focus(); |
if (typeof(utext)=="undefined") { utext=''; } |
if (utext == null) { utext = '';} |
if (typeof(ltext)=="undefined") { ltext=''; } |
if (ltext == null) { ltext = '';} |
|
if (typeof(utext)!="string") { utext=''; } |
|
if (typeof(ltext)!="string") { ltext=''; } |
if ((utext=='') && (ltext=='')) { |
if ((utext=='') && (ltext=='')) { |
utext=statustop; |
utext=statustop; |
ltext=statusbot; |
ltext=statusbot; |
Line 195 function setstatus(tp,bt) {
|
Line 206 function setstatus(tp,bt) {
|
endsend(); |
endsend(); |
} |
} |
|
|
|
function cstrgo(currenturl,defaulturl) { |
|
windowcheck(); |
|
var url; |
|
if (currenturl == null || currenturl == '') { |
|
url = defaulturl; |
|
} else { |
|
url = currenturl; |
|
var res_pattern = /^\/res\/[A-z0-p]+\//; |
|
if (res_pattern.test(url)) { |
|
// map /res/103/turtle to /priv/turtle |
|
url = url.replace(/^\/res\/[A-z0-9]+\//,'/priv/'); |
|
} else { |
|
url = defaulturl; |
|
} |
|
} |
|
this.document['led'].src="ledsend.gif"; |
|
if (url != '') { |
|
clientwindow.window.location.href="http://"+clienthost+url; |
|
} |
|
} |
|
|
function go(url) { |
function go(url) { |
windowcheck(); |
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
this.document['led'].src="ledsend.gif"; |
if (url!='') { |
if (url!='') { |
|
currentURL = null; |
clientwindow.window.location.href="http://"+clienthost+url; |
clientwindow.window.location.href="http://"+clienthost+url; |
} |
} |
} |
} |