version 1.31, 2001/06/02 16:07:19
|
version 1.37, 2001/07/25 03:05:49
|
Line 11 Jan Guy Albertelli
|
Line 11 Jan Guy Albertelli
|
3/21 Gerd Kortemeyer |
3/21 Gerd Kortemeyer |
4/30 Ben Tyszka |
4/30 Ben Tyszka |
5/2 Scott Harrison |
5/2 Scott Harrison |
5/4,5/9,5/28,5/30,6/1,6/2 Gerd Kortemeyer |
5/4,5/9,5/28,5/30,6/1,6/2,6/3,6/8,6/15,6/16 Gerd Kortemeyer |
|
7/24 Scott Harrison |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 20 Jan Guy Albertelli
|
Line 21 Jan Guy Albertelli
|
|
|
<body bgcolor="#BBBBBB" |
<body bgcolor="#BBBBBB" |
background="remotebg.gif" |
background="remotebg.gif" |
onLoad="activate();" |
|
onUnload="logout();"> |
onUnload="logout();"> |
<basefont size="1" /> |
<basefont size="1" /> |
|
|
Line 34 imgpath='/res/adm/pages/';
|
Line 34 imgpath='/res/adm/pages/';
|
|
|
var currentURL=''; |
var currentURL=''; |
var currentStale=1; |
var currentStale=1; |
|
var menucltim; |
|
|
// not used (yet) |
// not used (yet) |
// var w_Annotator; |
// var w_Annotator; |
Line 85 function logout () {
|
Line 86 function logout () {
|
} |
} |
} |
} |
|
|
function checkurl () { |
|
if (currentURL) { |
|
if (currentStale) { |
|
clearbut(2,1); |
|
clearbut(2,3); |
|
clearbut(8,1); |
|
clearbut(8,2); |
|
clearbut(8,3); |
|
switchbutton(3,1,'reload.gif','return','location','go(currentURL)'); |
|
} else { |
|
clearbut(3,1); |
|
switchbutton(8,1,'eval.gif','evaluate','this','gopost("/adm/evaluate",currentURL)'); |
|
switchbutton(8,2,'fdbk.gif','feedback','on this','gopost("/adm/feedback",currentURL)'); |
|
switchbutton(8,3,'prt.gif','prepare','printout','gopost("/adm/printout",currentURL)'); |
|
switchbutton(2,1,'back.gif','backward','','gopost("/adm/flip","back:"+currentURL)'); |
|
switchbutton(2,3,'forw.gif','forward','','gopost("/adm/flip","forward:"+currentURL)'); |
|
} |
|
} else { |
|
clearbut(2,1); |
|
clearbut(2,3); |
|
clearbut(3,1); |
|
clearbut(8,1); |
|
clearbut(8,2); |
|
clearbut(8,3); |
|
} |
|
setTimeout('checkurl();',500); |
|
} |
|
|
|
function activate () { |
function activate () { |
opener.menuloaded=1; |
opener.menuloaded=1; |
setTimeout('active=1;',2000); |
setTimeout('active=1;',2000); |
setTimeout('checkurl();',1500); |
|
} |
} |
|
|
function deactivate () { |
function deactivate () { |
Line 126 function deactivate () {
|
Line 98 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 (utext==undefined) { utext=''; } |
if (typeof(utext)=="undefined") { utext=''; } |
if (ltext==undefined) { ltext=''; } |
if (typeof(ltext)=="undefined") { ltext=''; } |
if ((utext=='') && (ltext=='')) { |
if ((utext=='') && (ltext=='')) { |
utext=statustop; |
utext=statustop; |
ltext=statusbot; |
ltext=statusbot; |
Line 195 function gopost(url,postdata) {
|
Line 167 function gopost(url,postdata) {
|
if (url!='') { |
if (url!='') { |
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.url.value=''; |
|
this.document.server.submit(); |
|
} |
|
} |
|
|
|
function gocmd(url,cmd) { |
|
windowcheck(); |
|
this.document['led'].src="ledsend.gif"; |
|
if (url!='') { |
|
this.document.server.action="http://"+clienthost+url; |
|
this.document.server.postdata.value=''; |
|
this.document.server.command.value=cmd; |
|
this.document.server.url.value=currentURL; |
this.document.server.submit(); |
this.document.server.submit(); |
} |
} |
} |
} |
Line 206 function annotate() {
|
Line 192 function annotate() {
|
"<html><body onload='Javascript:document.goannotate.submit();'>" |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
+"<form name='goannotate' target='Annotator' method='post' " |
+"<form name='goannotate' target='Annotator' method='post' " |
+"action='/adm/annotations'>" |
+"action='/adm/annotations'>" |
+"<input type='hidden' name='urlnew' value='"+clientwindow.location.href+"'>" |
+"<input type='hidden' name='urlnew' value='"+currentURL+"'>" |
+"</form></body></html>"); |
+"</form></body></html>"); |
annotator.document.close(); |
annotator.document.close(); |
} |
} |
|
|
function set_bookmark() { |
function set_bookmark() { |
go(''); |
go(''); |
clienttitle="Enter Title"; |
if (currentStale) { |
clienthref="Enter Address"; |
clienttitle="Enter Title"; |
|
clienthref=currentURL; |
|
} else { |
|
clienttitle=clientwindow.document.title; |
|
clienthref=clientwindow.location.pathname; |
|
} |
w_bmquery_flag=1; |
w_bmquery_flag=1; |
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); |
bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0'); |
bmquery.document.write( |
bmquery.document.write( |
Line 334 function catalog_info() {
|
Line 325 function catalog_info() {
|
|
|
<tr> |
<tr> |
<td><a href="javascript:eval(hr[91]);" onMouseOver="display(dt[91],db[91]);"><img border="0" name="b91" src="empty.gif"></img></a></td> |
<td><a href="javascript:eval(hr[91]);" onMouseOver="display(dt[91],db[91]);"><img border="0" name="b91" src="empty.gif"></img></a></td> |
<td colspan="2"><a href="javascript:eval(hr[92]);" onMouseOver="display(dt[92],db[92]);"><img border="0" name="b92" src="dempty.gif"></img></a></td> |
<td><a href="javascript:eval(hr[92]);" onMouseOver="display(dt[92],db[92]);"><img border="0" name="b92" src="empty.gif"></img></a></td> |
|
<td><a href="javascript:eval(hr[93]);" onMouseOver="display(dt[93],db[93]);"><img border="0" name="b93" src="empty.gif"></img></a></td> |
|
</tr> |
|
|
|
<tr> |
|
<td><a href="javascript:eval(hr[101]);" onMouseOver="display(dt[101],db[101]);"><img border="0" name="b101" src="empty.gif"></img></a></td> |
|
<td colspan="2"><a href="javascript:eval(hr[102]);" onMouseOver="display(dt[102],db[102]);"><img border="0" name="b102" src="dempty.gif"></img></a></td> |
</tr> |
</tr> |
|
|
</table> |
</table> |
Line 345 function catalog_info() {
|
Line 342 function catalog_info() {
|
><img border="0" src="spacer.gif"></img></a><br /> |
><img border="0" src="spacer.gif"></img></a><br /> |
|
|
<form name='server' action='/adm/logout' method='post' target='loncapaclient'> |
<form name='server' action='/adm/logout' method='post' target='loncapaclient'> |
<input type='hidden' name='postdata' value='none'></input> |
<input type='hidden' name='postdata' value='none' /> |
</form> |
<input type="hidden" name="command" value="none" /> |
|
<input type="hidden" name="url" value="none" /> |
|
</form> |
</center> |
</center> |
|
<script> |
|
activate(); |
|
</script> |
</body> |
</body> |
</html> |
</html> |