[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html
www
lon-capa-cvs@mail.lon-capa.org
Tue, 19 Mar 2002 20:30:07 -0000
www Tue Mar 19 15:30:07 2002 EDT
Modified files:
/loncom/html/res/adm/pages menu.html
Log:
Opens nicer new window
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.44 loncom/html/res/adm/pages/menu.html:1.45
--- loncom/html/res/adm/pages/menu.html:1.44 Mon Mar 18 09:25:49 2002
+++ loncom/html/res/adm/pages/menu.html Tue Mar 19 15:30:07 2002
@@ -4,7 +4,7 @@
Remote Control
//
-// $Id: menu.html,v 1.44 2002/03/18 14:25:49 matthew Exp $
+// $Id: menu.html,v 1.45 2002/03/19 20:30:07 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -41,6 +41,9 @@
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
+YEAR=2002
+March 2002 Matthew Hall
+3/19 Gerd Kortemeyer
-->
<head>
<title>LON-CAPA Remote</title>
@@ -96,10 +99,14 @@
var clientwindow=opener;
function windowcheck() {
- if (clientwindow.closed) {
- clientwindow=window.open("http://"+clienthost+"/");
+ if (clientwindow==null || clientwindow.closed) {
+ clientwindow=window.open("http://"+clienthost+"/",'',
+ "height=400,width=440,"+
+ "scrollbars=1,toolbar=1,status=1,resizable=1,location=1,"+
+ "left=190,top=15,screenX=190,screenY=15");
}
clientwindow.name='loncapaclient';
+ clientwindow.menuwindow=self;
}
function logout () {