Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with Pop-up window in Mozilla/Netscape 1

Status
Not open for further replies.

janna30

MIS
Dec 13, 2003
3
US
Hi. I have a html page that pops up in a window using javascript. It works fine in IE, but for some reason Mozilla limits the height of the popup window and cuts off information. I want it to be 450 pixels high.

THe code I am using is

<a href=&quot;flash/barvagallery3.htm&quot; onClick=&quot;window.open('flash/barvagallery3.htm', 'gallery','width=700, height=450, resizable=yes'); return false&quot;>Corpus
Christi Celebration </a>

Any suggestions as to what the problem might be with Mozilla and what I can do to fix it.

The URL is
 
Mozilla and IE use the width/height values differently... I believe one takes the values for the inside of the window (i.e. minus scrollbars, borders, etc), and the other the outside.

If you increase your values by say 20 pixels (16 for scrollbar, and 4 for border), you should be fine.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top