HTML question: sizing and positioning secondary/child windows ? Summary

Subject: HTML question: sizing and positioning secondary/child windows ? Summary
From: Geoff Hart <ghart -at- videotron -dot- ca>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 17 Aug 2004 10:10:32 -0400


Earlier this week, I wondered whether it was possible to display, then resize, a secondary browser window without recourse to JavaScript (JS) or CSS--that is, using nothing more than standard HTML. The consensus seems to be that it isn't. Moreover, apparently the "target=blank" option has been deprecated by The Powers That Be, and may no longer be supported in future releases of the HTML standard.

That being said, the situation isn't necessarily dire. The best statistics that I've seen suggest that only around 10% of browsers have JS turned off, so it's possible to resize the window for most of your visitors, and there are options to prevent the link from turning into a dead link for those who do visit with JS turned off.

Details and useful links:
http://mikezornek.com/archives/2003/08/18/a_better_popup_window_link.php
http://www.yourhtmlsource.com/javascript/popupwindows.html
http://www.alistapart.com/articles/popuplinks/
http://javascriptmadeeasy.com/win.htm

Sample JS code for those who might want to do it that way:
<A HREF="#" onclick="window.open('http:// www.url.com','popup','toolbar=no,location=no,directories=no,status=no,me nubar=n
o,scrollbars=yes,resizable=no,copyhistory=no,width=480,height=350')">

Thanks to Sean Hower, Jim Royal, Michael Strickland, and Marj Tiefert for their suggestions.

--Geoff Hart ghart -at- videotron -dot- ca
(try geoffhart -at- mac -dot- com if you don't get a reply)


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ROBOHELP X5: Featuring Word 2003 support, Content Management, Multi-Author
support, PDF and XML support and much more!
TRY IT TODAY at http://www.macromedia.com/go/techwrl

WEBWORKS FINALDRAFT: New! Document review system for Word and FrameMaker
authors. Automatic browser-based drafts with unlimited reviewers. Full
online discussions -- no Web server needed! http://www.webworks.com/techwr-l
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.



Follow-Ups:

Previous by Author: How many characters?
Next by Author: Secondary window vs. popup (was: HTML question)
Previous by Thread: Re: What does Bugzilla look like in action?
Next by Thread: Re: HTML question: sizing and positioning secondary/child windows ? Summary


What this post helpful? Share it with friends and colleagues:


Sponsored Ads