Solved

Problem with Popup Window Size in Netscape

Posted on 2002-03-18
8
200 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now