brucie said:
In post <
[email protected]>
Freshman said...
[Open link in new window and the window is small]
How does one do that. I don't mean that the window is smaller than it should
be, but the window is supposed to be small.
you don't need to know how to do that. allow the visitor the choice of
opening a new window or not.
A good coding of secondary windows will not limit the user's choices and
options: adding the pseudo-protocol "javascript:" in href attribute
value would.
if they choose to do so they can size the
window to their own preference.
I agree with you on granting all the time window resizability to
secondary windows but the creation and opening of such secondary window
will still need to have initial dimensions. If and since such window
will be resizable, then why not provide initial window dimensions which
are likely to make sense for the user?
The FAQ is wrong in a few spots IMO:
Why is Javascript so evil?
"Windows presized to some size the user don't want."
http://www.html-faq.com/scriptingbasics/?javascriptisevil
I think we need to create a page where all these answers (which repeat
themselves all the time, every week) could be found so that we can
direct people to such page. My feeling is that regulars of both alt.html
and comp.lang.javascript need to create a competition to crummy, crappy,
Krusty-the-clown scripts found at javascript copy-N-paste sites.
DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunclear/Netscape7/Netscape7Section.html