Click to See Complete Forum and Search --> : Pop Up Window Truncated in Netscape!


Reesho
01-22-2003, 10:27 PM
I could use some help with this one....

My javacript pop up windows work fine in Explorer but are truncated and without scroll bars in Netscape. I'm using this script in the <head>:
<script>
<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
The reference in the <body> is:

function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",146,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#003399","#730000");
fw_menu_0.addMenuItem("Trade In Evaluation", onMouseDown="MM_openBrWindow('brokerageform.html','TradeIn','width=560,height=1200')");

(the link is in a pop up menu)
You can check out the page to see what I mean: www.greatbayboats.com (http://www.greatbayboats.com/html/welcome.html)
How can I get the pop up windows to work properly in Netscape?

Any clues would be greatly appreciated!

gil davis
01-23-2003, 06:02 AM
I don't see any big difference on either IE 5.5 or NS 4.8 using Windows 2000. Both browsers make a window that is too big for my screen resolution (1024 x 768) and I cannot see what is on the bottom of the page. Neither browser had scroll bars.

Add "scrollbars=yes" to the windows features, and you will get scroll bars (in NS, only if they are required depending on page size vs window size).

Reesho
01-23-2003, 08:56 PM
I made a typical and stupid mistake when I designed these pages by previewing them exclusively in Explorer, where (on the MAC) they look good (full window visible with easy to work scrollbar and perfect content centering etc.). When I finally looked at them in Netscape my heart sank. I put the scrollbar feature in the code which helped (at least you can get to the bottom of the page if you work at it) but I still have to change the window size for Netscape users (and PC Explorer users?). I'm just trying to decide what a good pop up window height would be for the average monitor. I was thinking 600.