[Javascript] window.open() not working in onLoad() of Mozilla 1.5

Chris T christ at saeweb.com
Wed May 5 08:25:22 CDT 2004


> >Ah, but Mike, if you had ever worked with window.open() you'd know that
the child window and its
> >parent (and its siblings in the case of multiple pop-ups) are in full
communication with one
> >another through the DOM, as thoroughly as a div or any other tag within
the parent window itself.

>   I have only seen references here to people not being able to use the
.opener property correctly
> and causing themselves difficulty communicating parent-child.  It's good
to that it CAN be done,
> but since this thread started about how the future of "pop-ups" looks
bleak i was suggesting an
> alternative.

I was going to mention also that a child window is able to reference the
opener. I don't know what problems these people you mention have had in the
past, but you can indeed reference the opener very easy - assuming it's
still open.

I prefer a pop-up to your method because at least with a blocker I could
block unscrupulous ads. If they go the whole route of DHTML to constantly
display ads (damn you ESPN - you're no longer the leader in sports, but
rather the leader in annoying ads), then I may just have to disable
JavaScript altogether.

Chris Tifer




More information about the Javascript mailing list