Solved

Problem with Popup Window Size in Netscape

Posted on 2002-03-18
8
202 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why a span is lower 2 26
Save ms data to server side. 19 55
Outlook opens HTML email as text 4 29
Opening a new tab in IE using Powershell / HTML 2 18
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

791 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