Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: popup that covers parent exactly


Message #1 by "tymen eric schreuder" <schreuder.tymen@l...> on Thu, 08 Aug 2002 14:00:09 -0700
Hi, I have a window divided into frames. One of those frames is 
to call a popup window that covers that frame exactly. My problem 
is this: This popup window needs to cover that frame exactly, and 
not overlap any other frame. For sort of complicated reasons, I 
have the parent window of the frames set up to set up the frame 
sizes as percentages, not pixels. But the window.open function only 
seems accept size variables in pixels. I was wondering if there 
would be any way to specify the window.open to cover its parent 
window exactly. I thought that I might be able to use the document.body.offsetWidth 
and height to get the sizes and then use them in the function, but 
I see that these must be executed after the browser has parsed the <body> tag. Any ideas? Thanks



__________________________________________________________
Win a First Class Trip to Hawaii to Vacation Elvis Style!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes

  Return to Index