PDA

View Full Version : window.open Inconsistency


Himself
01-19-2009, 12:32 PM
I'm using the javascript window.open command on my site to open up explanatory information windows. Everything works fine on Firefox, Chrome, and Safari, but IE7 opens another tab instead of a popup window. Is this a Microsoft problem? Is there a workaround? Am I doing something non-standard? The code is as follows:

[quote]functionpopcontact(){
window.open('contact.html','popcontact','toolbar=n o,location=no,directories=no,status=no,menubar=no, resizable=no,copyhistory=no,scrollbars=no,width=58 0,height=520,top=125,left=275');
}</CODE>

bruce
01-20-2009, 08:00 AM
I think this behavior is controlled on the browser end.

See http://www.ie-vista.com/tabs.html

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

Himself
01-20-2009, 08:18 AM
You're absolutely right! Thanks for the information. I never would have thought of looking there for the solution. Perhaps I'm just used to that Washington State company doing things in a non-standard way with its browser. /emoticons/smilewinkgrin.gif