Forum Moderators: open

Message Too Old, No Replies

tags for controlling popup windows?

....or where to find them

         

jondb

12:35 pm on Jul 12, 2003 (gmt 0)

10+ Year Member



Hi -

I'm looking for tags that control popup windows. Specifying the size alone leaves the different browsers free to display them in their own way. MSIE adds unwanted scroll bars, Apple's Safari browser allows window resizing and so on. Where can I find a complete list of tags that specifically prevent any features I don't want to allow?

tedster

1:00 pm on Jul 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, jondb

You're talking about the "features string" of the window.open() method. There's a lot to this, and the bad news is that you will not have the kind of cross-browser control that you are looking for. For instance, Opera allows the user to resize a window no matter what you put in the code.

Here's a Microsoft reference [msdn.microsoft.com] on the topic. Netscape does things a little bit differently. And I'll be looking for the W3C reference as soon as I click submit.

tedster

1:20 pm on Jul 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, the W3C seems relatively quiet on the matter. You can download the ECMA standards document [ecma-international.org] (this is the standard for javascript, jscript, actionscript etc.) but that may be more than you want right now.

What a shame -- I really prefer the standards bodies on things like this. However, here's a good tutorial from Webreference [webreference.com]. Solid, usually trustable, reference site.

jondb

1:49 pm on Jul 12, 2003 (gmt 0)

10+ Year Member



Thanks Tedster. Webmaster article looks useful.