[Javascript] Open Window

Peter Brunone peter at brunone.com
Wed Mar 21 09:19:47 CST 2001


    Last time I checked, the innerWidth and innerHeight properties only
referred to an existing window.  Use the words "height" and "width" when
executing the window.open method.

----- Original Message -----
From: "Jim Woods" <jww at nlm.nih.gov>
To: <javascript at LaTech.edu>
Cc: "Woods, Jim" <jww at nlm.nih.gov>
Sent: Wednesday, March 21, 2001 7:25 AM
Subject: [Javascript] Open Window


> I'm far from an expert.  I have a script that pops up a new window. It
> says:
> <script>function OpenWindow() { var newwindow =
>
window.open("","ImageWin","toolbar=0,location=1,directories=0,status=0,menub
ar=0,scrollbars=1,resizable=1,innerWidth=235,innerHeight=80");newwindow.focu
s();newwindow.moveTo(562,10);}
>
> </script>
> I want to open a second pop-up from the first.  It does it okay but
> innerWidth and innerHeight are ignored.
> Any help/advice greatly appreciated.
> Jim
> --
> James W. Woods, Ph.D.
> Office of High Performance Computing and Communications
> Lister Hill National Center for Biomedical Communications
> National Library of Medicine
> Bethesda, MD  20894
> 301 435 3282
> jww at nlm.nih.gov
> ---------------------------------------------------------
> What you don't know really CAN hurt you.
> Information's pretty thin stuff, unless mixed with experience.
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list