?
Solved

Problem with Popup Window Size in Netscape

Posted on 2002-03-18
8
Medium Priority
?
208 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 200 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Industry Leaders: 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

This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

839 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