version 1.36, 2001/06/16 15:08:09
|
version 1.43, 2002/02/15 19:53:09
|
Line 2
|
Line 2
|
<!-- |
<!-- |
The LearningOnline Network with CAPA |
The LearningOnline Network with CAPA |
Remote Control |
Remote Control |
|
|
|
// |
|
// $Id$ |
|
// |
|
// Copyright Michigan State University Board of Trustees |
|
// |
|
// This file is part of the LearningOnline Network with CAPA (LON-CAPA). |
|
// |
|
// LON-CAPA is free software; you can redistribute it and/or modify |
|
// it under the terms of the GNU General Public License as published by |
|
// the Free Software Foundation; either version 2 of the License, or |
|
// (at your option) any later version. |
|
// |
|
// LON-CAPA is distributed in the hope that it will be useful, |
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
// GNU General Public License for more details. |
|
// |
|
// You should have received a copy of the GNU General Public License |
|
// along with LON-CAPA; if not, write to the Free Software |
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
// |
|
// /home/httpd/html/adm/gpl.txt |
|
// |
|
// http://www.lon-capa.org/ |
|
// |
|
|
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,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer |
10/2,10/3,10/4,10/17,10/19,3/1/1 Gerd Kortemeyer |
Line 12 Jan Guy Albertelli
|
Line 39 Jan Guy Albertelli
|
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,6/3,6/8,6/15,6/16 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,8/6 Scott Harrison |
|
8/24 Gerd Kortemeyer |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA Remote</title> |
<title>LON-CAPA Remote</title> |
Line 19 Jan Guy Albertelli
|
Line 48 Jan Guy Albertelli
|
|
|
|
|
<body bgcolor="#BBBBBB" |
<body bgcolor="#BBBBBB" |
background="remotebg.gif" |
background="remotebg.gif"> |
onLoad="activate();" |
|
onUnload="logout();"> |
|
<basefont size="1" /> |
<basefont size="1" /> |
|
|
<script type="text/javascript"> |
<script type="text/javascript"> |
Line 68 function windowcheck() {
|
Line 95 function windowcheck() {
|
|
|
function logout () { |
function logout () { |
windowcheck(); |
windowcheck(); |
if (clientwindow.status!='MenuControl:nologout') |
|
{ |
|
if (w_Annotator_flag!=-1 && annotator && !annotator.closed) { |
if (w_Annotator_flag!=-1 && annotator && !annotator.closed) { |
annotator.close(); |
annotator.close(); |
} |
} |
Line 83 function logout () {
|
Line 109 function logout () {
|
loncatinfo.close(); |
loncatinfo.close(); |
} |
} |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
clientwindow.window.location.href="http://"+clienthost+"/adm/logout"; |
} |
|
} |
} |
|
|
function activate () { |
function activate () { |
Line 98 function deactivate () {
|
Line 124 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 131 function defdis() {
|
Line 157 function defdis() {
|
|
|
function switchbutton(row,col,imgsrc,texttop,textbot,action) { |
function switchbutton(row,col,imgsrc,texttop,textbot,action) { |
var idx=10*row+col; |
var idx=10*row+col; |
this.document['b'+idx].src=imgpath+imgsrc; |
this.document['b'+idx].src="http://"+clienthost+imgpath+imgsrc; |
hr[idx]=action; |
hr[idx]=action; |
dt[idx]=texttop; |
dt[idx]=texttop; |
db[idx]=textbot; |
db[idx]=textbot; |
} |
} |
|
|
function clearbut(row,col) { |
function clearbut(row,col) { |
var idx=10*row+col; |
var idx=10*row+col; |
this.document['b'+idx].src=imgpath+'empty.gif'; |
this.document['b'+idx].src="http://"+clienthost+imgpath+'empty.gif'; |
hr[idx]='javascript:defdis();'; |
hr[idx]='javascript:defdis();'; |
dt[idx]=''; |
dt[idx]=''; |
db[idx]=''; |
db[idx]=''; |
Line 331 function catalog_info() {
|
Line 357 function catalog_info() {
|
|
|
<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><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> |
<td><a href="javascript:eval(hr[102]);" onMouseOver="display(dt[102],db[102]);"><img border="0" name="b102" src="empty.gif"></img></a></td> |
|
<td><a href="javascript:eval(hr[103]);" onMouseOver="display(dt[103],db[103]);"><img border="0" name="b103" src="empty.gif"></img></a></td> |
</tr> |
</tr> |
|
|
</table> |
</table> |
Line 347 function catalog_info() {
|
Line 374 function catalog_info() {
|
<input type="hidden" name="url" value="none" /> |
<input type="hidden" name="url" value="none" /> |
</form> |
</form> |
</center> |
</center> |
|
<script> |
|
activate(); |
|
</script> |
</body> |
</body> |
</html> |
</html> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|