Solved

Problem with Popup Window Size in Netscape

Posted on 2002-03-18
8
203 Views
Last Modified: 2010-04-09
At our site: www.nationalmortgage.ca when you click on the "calculator's" button in IE it opens up an extra window
with the correct sizing.....try and do that in Netscape and you wind up with a full sized popup window.  Anyone
have any idea what needs to be added/changed in the HTML code to make this pop-up window behave itself in Netscape?

Here is the HTML code for the popup window:

------------------------------------------------------------------------------------------------------------
//------ <td><a href="index.htm" ONCLICK="window.open('calc_analyze.htm', 'popup', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=475, height=425')" OnMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('home_r3_c1','','images/navhome/home_r3_c1_f2.gif',1);" target="_top" ><img name="home_r3_c1" src="images/navhome/home_r3_c1.gif" width="100" height="25" border="0"></a></td>
                  <td><img src="images/navhome/spacer.gif" width="1" height="25" border="0" name="undefined_2"></td>

Thanks
0
Comment
Question by:enterprisewd
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 5

Accepted Solution

by:
andriv earned 50 total points
ID: 6879082
Sounds stupid, but we are talking about Netscrape. You have to have the window.open() all on one line you have have to remove the spaces in the third argument:

window.open('calc_analyze.htm', 'popup', 'toolbar=no,location=no, directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=475,height=425')"
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 6879661
looks perfect in NS6.2
mybe andriv should rephrase, its no longer netscrap.


lhn
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6879939
"'toolbar=no, location=no,
directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=475, height=425')"
Is wrong for Netscape. Take out the spaces, and directories,copyhistory -- they're IE only. Might screw up Netscape. If you MUST have them, make sure they're at the end.

But it's the spaces. NO spaces, just commas. Netscape figures that's all you want when it hits a space.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:enterprisewd
ID: 6879955
Thanks Guys......here's a follow up, might be the same problem

http://www.nationalmortgage.ca/rates.htm

this page also will not show up in Nutscrape......is it a spacing issue again?

Thank You!!!

0
 
LVL 12

Expert Comment

by:lexxwern
ID: 6880050
well the page clearly showed up in netscape !(nutscrape) 6.2

dont bother about compatibility with ns4x series

lhn
0
 
LVL 5

Expert Comment

by:andriv
ID: 6880291
Same as I said, Have to remove the spaces. Everything else will not effect it.  I had copied and pasted the link and corrected by removing the spaces and it worked on NS 4.5,4.7,6.2 and IE 6
0
 

Author Comment

by:enterprisewd
ID: 6880780
Thanks Guys.....specially andriv.....Gotta Support all the Nutscrape Versions if you wanna make money from
the Nutscrape Users I guess....  But Thanks :)
0
 
LVL 5

Expert Comment

by:andriv
ID: 6880858
No problem, Netscape is getting a lot better but still alot of problems with layers and javascript.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question