version 1.7, 2000/10/03 19:38:11
|
version 1.14, 2000/10/19 10:13:30
|
Line 4 The LearningOnline Network with CAPA
|
Line 4 The LearningOnline Network with CAPA
|
Remote Control |
Remote Control |
6/12/00,6/13,6/14,6/15 Gerd Kortemeyer |
6/12/00,6/13,6/14,6/15 Gerd Kortemeyer |
Sept Ben Tyszka |
Sept Ben Tyszka |
10/2,10/3 Gerd Kortemeyer |
10/2,10/3,10/4,10/17,10/19 Gerd Kortemeyer |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 30 function windowcheck() {
|
Line 30 function windowcheck() {
|
|
|
function logout () { |
function logout () { |
windowcheck(); |
windowcheck(); |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
if (clientwindow.status!='MenuControl:nologout') |
|
{ |
|
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
|
} |
} |
} |
|
|
function display(utext,ltext) { |
function display(utext,ltext) { |
Line 67 function setstatus(tp,bt) {
|
Line 70 function setstatus(tp,bt) {
|
} |
} |
|
|
function go(url) { |
function go(url) { |
|
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
this.document['led'].src="ledsend.gif"; |
if (url!='') { |
if (url!='') { |
windowcheck(); |
|
clientwindow.window.location.href="http://"+clienthost+url; |
clientwindow.window.location.href="http://"+clienthost+url; |
} |
} |
} |
} |
|
|
function gopost(url,postdata) { |
function gopost(url,postdata) { |
|
windowcheck(); |
this.document['led'].src="ledsend.gif"; |
this.document['led'].src="ledsend.gif"; |
if (url!='') { |
if (url!='') { |
windowcheck(); |
|
this.document.server.postdata=postdata; |
|
this.document.server.action="http://"+clienthost+url; |
this.document.server.action="http://"+clienthost+url; |
|
this.document.server.postdata.value=postdata; |
this.document.server.submit(); |
this.document.server.submit(); |
} |
} |
} |
} |
|
|
function annotate() { |
function annotate() { |
go(''); |
annotator=window.open('','Annotator','width=365,height=265,scrollbars=0'); |
window.open("http://"+clienthost+"/adm/annotations?url_new=" |
annotator.document.write( |
+clientwindow.location.href, "Annotator", |
"<html><body onload='Javascript:document.goannotate.submit();'>" |
"width=365,height=265,scrollbars=0"); |
+"<form name='goannotate' target='Annotator' method='post' " |
|
+"action='/adm/annotations'>" |
|
+"<input type='hidden' name='urlnew' value='"+clientwindow.location.href+"'>" |
|
+"</form></body></html>"); |
|
annotator.document.close(); |
} |
} |
|
|
function set_bookmark() { |
function set_bookmark() { |
Line 103 function edit_bookmarks() {
|
Line 110 function edit_bookmarks() {
|
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
} |
} |
|
|
|
function catalog_info() { |
|
go(''); |
|
window.open(clientwindow.window.location.href+'.meta',"LONcatInfo"); |
|
} |
</script> |
</script> |
|
|
<center> |
<center> |
Line 186 function edit_bookmarks() {
|
Line 197 function edit_bookmarks() {
|
> |
> |
|
|
<AREA SHAPE="rect" COORDS="4,30,34,48" |
<AREA SHAPE="rect" COORDS="4,30,34,48" |
href="javascript:go('');" |
href="javascript:catalog_info('');" |
onMouseOver="display('catalog','info');" |
onMouseOver="display('catalog','info');" |
> |
> |
|
|
Line 212 function edit_bookmarks() {
|
Line 223 function edit_bookmarks() {
|
|
|
<MAP NAME="endmenuMap"> |
<MAP NAME="endmenuMap"> |
<AREA SHAPE="rect" COORDS="76,1,131,19" |
<AREA SHAPE="rect" COORDS="76,1,131,19" |
href="javascript:window.close();" |
href="javascript:logout();" |
onMouseOver="display('logout','');" |
onMouseOver="display('logout','');" |
> |
> |
<AREA SHAPE="rect" COORDS="39,0,69,19" |
<AREA SHAPE="rect" COORDS="39,0,69,19" |
Line 231 function edit_bookmarks() {
|
Line 242 function edit_bookmarks() {
|
|
|
<MAP NAME="navmenuMap"> |
<MAP NAME="navmenuMap"> |
<AREA SHAPE="rect" COORDS="86,24,110,80" |
<AREA SHAPE="rect" COORDS="86,24,110,80" |
href="javascript:gopost('/adm/flip', |
href="javascript:windowcheck();gopost('/adm/flip', |
'forward:'+clientwindow.window.location.href);" |
'forward:'+clientwindow.window.location.href);" |
onMouseOver="display('go','forward');" |
onMouseOver="display('go','forward');" |
> |
> |
<AREA SHAPE="rect" COORDS="20,23,44,81" |
<AREA SHAPE="rect" COORDS="20,23,44,81" |
href="javascript:gopost('/adm/flip', |
href="javascript:windowcheck();gopost('/adm/flip', |
'back:'+clientwindow.window.location.href);" |
'back:'+clientwindow.window.location.href);" |
onMouseOver="display('go','back');" |
onMouseOver="display('go','back');" |
> |
> |
<AREA SHAPE="rect" COORDS="35,72,95,97" |
<AREA SHAPE="rect" COORDS="35,72,95,97" |
href="javascript:go('');" |
href="javascript:windowcheck();gopost('/adm/flip', |
|
'down:'+clientwindow.window.location.href);" |
onMouseOver="display('go level','down');" |
onMouseOver="display('go level','down');" |
> |
> |
<AREA SHAPE="rect" COORDS="36,7,94,31" |
<AREA SHAPE="rect" COORDS="36,7,94,31" |
href="javascript:go('');" |
href="javascript:windowcheck();gopost('/adm/flip', |
|
'up:'+clientwindow.window.location.href);" |
onMouseOver="display('go level','up');" |
onMouseOver="display('go level','up');" |
> |
> |
<AREA SHAPE="circle" COORDS="64,51,21" |
<AREA SHAPE="circle" COORDS="64,51,21" |
href="javascript:go('');" |
href="javascript:windowcheck();gopost('/adm/flip', |
|
'return:');" |
onMouseOver="display('return','location');" |
onMouseOver="display('return','location');" |
> |
> |
<AREA SHAPE="polygon" COORDS="2,2,42,2,2,42" |
<AREA SHAPE="polygon" COORDS="2,2,42,2,2,42" |