version 1.1, 2000/06/28 03:11:52
|
version 1.9, 2000/10/04 23:01:52
|
Line 3
|
Line 3
|
The LearningOnline Network with CAPA |
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 |
|
10/2,10/3,10/4 Gerd Kortemeyer |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 23 function windowcheck() {
|
Line 25 function windowcheck() {
|
if (clientwindow.closed) { |
if (clientwindow.closed) { |
clientwindow=window.open("http://"+clienthost+"/"); |
clientwindow=window.open("http://"+clienthost+"/"); |
} |
} |
|
clientwindow.name='loncapaclient'; |
} |
} |
|
|
function logout () { |
function logout () { |
windowcheck(); |
if (( |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
clientwindow.window.location.href!="http://"+clienthost+"/adm/logout" |
|
) && ( |
|
clientwindow.window.location.href!="http://"+clienthost+"/adm/authenticate" |
|
)) |
|
{ |
|
windowcheck(); |
|
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
|
} |
} |
} |
|
|
function display(utext,ltext) { |
function display(utext,ltext) { |
Line 66 function setstatus(tp,bt) {
|
Line 76 function setstatus(tp,bt) {
|
function go(url) { |
function go(url) { |
this.document['led'].src="ledsend.gif"; |
this.document['led'].src="ledsend.gif"; |
if (url!='') { |
if (url!='') { |
|
windowcheck(); |
|
clientwindow.window.location.href="http://"+clienthost+url; |
|
} |
|
} |
|
|
|
function gopost(url,postdata) { |
|
this.document['led'].src="ledsend.gif"; |
|
if (url!='') { |
|
windowcheck(); |
|
this.document.server.action="http://"+clienthost+url; |
|
this.document.server.postdata.value=postdata; |
|
this.document.server.submit(); |
} |
} |
} |
} |
|
|
|
function annotate() { |
|
go(''); |
|
window.open("http://"+clienthost+"/adm/annotations?url_new=" |
|
+clientwindow.location.href, "Annotator", |
|
"width=365,height=265,scrollbars=0"); |
|
} |
|
|
|
function set_bookmark() { |
|
go(''); |
|
prompt("Please enter a name for this bookmark.", |
|
clientwindow.window.location.href); |
|
} |
|
|
|
function edit_bookmarks() { |
|
go(''); |
|
window.open("http://"+clienthost+"/adm/bookmarks", |
|
"BookmarkPal", "width=400,height=505,scrollbars=0"); |
|
} |
|
|
</script> |
</script> |
|
|
<center> |
<center> |
Line 132 function go(url) {
|
Line 173 function go(url) {
|
|
|
<MAP NAME="fnkmenuMap"> |
<MAP NAME="fnkmenuMap"> |
<AREA SHAPE="rect" COORDS="4,3,34,21" |
<AREA SHAPE="rect" COORDS="4,3,34,21" |
href="javascript:go('');" |
href="javascript:annotate();" |
onMouseOver="display('my anno-','tations');" |
onMouseOver="display('my anno-','tations');" |
> |
> |
|
|
Line 197 function go(url) {
|
Line 238 function go(url) {
|
|
|
<MAP NAME="navmenuMap"> |
<MAP NAME="navmenuMap"> |
<AREA SHAPE="rect" COORDS="86,24,110,80" |
<AREA SHAPE="rect" COORDS="86,24,110,80" |
href="javascript:go('');" |
href="javascript:gopost('/adm/flip', |
|
'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:go('');" |
href="javascript:gopost('/adm/flip', |
|
'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: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: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" |
Line 217 function go(url) {
|
Line 262 function go(url) {
|
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" |
href="javascript:go('');" |
href="javascript:go('/adm/roles');" |
onMouseOver="display('enter','course');" |
onMouseOver="display('enter','course');" |
> |
> |
<AREA SHAPE="polygon" COORDS="2,103,42,103,2,63" |
<AREA SHAPE="polygon" COORDS="2,103,42,103,2,63" |
href="javascript:go('');" |
href="javascript:set_bookmark();" |
onMouseOver="display('set','bookmark');" |
onMouseOver="display('set','bookmark');" |
> |
> |
<AREA SHAPE="polygon" COORDS="127,2,87,2,127,42" |
<AREA SHAPE="polygon" COORDS="127,2,87,2,127,42" |
Line 229 function go(url) {
|
Line 274 function go(url) {
|
onMouseOver="display('navigate','maps');" |
onMouseOver="display('navigate','maps');" |
> |
> |
<AREA SHAPE="polygon" COORDS="128,102,89,102,128,63" |
<AREA SHAPE="polygon" COORDS="128,102,89,102,128,63" |
href="javascript:go('');" |
href="javascript:edit_bookmarks();" |
onMouseOver="display('go to','bookmark');" |
onMouseOver="display('go to','bookmark');" |
> |
> |
<area shape="default" |
<area shape="default" |
Line 237 function go(url) {
|
Line 282 function go(url) {
|
onMouseOver="defdis()"; |
onMouseOver="defdis()"; |
> |
> |
</MAP> |
</MAP> |
|
<form name='server' action='/adm/logout' method='post' target='loncapaclient'> |
|
<input type='hidden' name='postdata' value='none'> |
|
</form> |
</body> |
</body> |
</html> |
</html> |
|
|
|
|
|
|
|
|