[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 15 Feb 2002 20:06:42 -0000


matthew		Fri Feb 15 15:06:42 2002 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  Commented out window resizing code.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.16 loncom/interface/lonmenu.pm:1.17
--- loncom/interface/lonmenu.pm:1.16	Thu Feb 14 09:55:37 2002
+++ loncom/interface/lonmenu.pm	Fri Feb 15 15:06:42 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.16 2002/02/14 14:55:37 harris41 Exp $
+# $Id: lonmenu.pm,v 1.17 2002/02/15 20:06:42 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -30,6 +30,7 @@
 # 05/29/00,05/30 Gerd Kortemeyer)
 #
 # 10/05,05/28,05/30,06/01,06/08,06/09,07/04,08/07 Gerd Kortemeyer
+# 02/15/02 Matthew Hall
 
 package Apache::lonmenu;
 
@@ -41,12 +42,13 @@
 # =============================================================== Open the menu
 
 sub open {
+#    return(<<ENDOPEN);
+#if (window.screen) {
+#    self.resizeTo(screen.availWidth-215,screen.availHeight-30);
+#    self.moveTo(190,15);
+#}
     return(<<ENDOPEN);
 <script>
-if (window.screen) {
-    self.resizeTo(screen.availWidth-215,screen.availHeight-30);
-    self.moveTo(190,15);
-}
 menu=window.open("/res/adm/pages/menu.html","LONCAPAmenu",
 "height=350,width=150,scrollbars=no,menubar=no,top=5,left=5,screenX=5,screenY=5");
 </script>