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

Mike Dougherty mdougherty at pbp.com
Wed May 5 08:13:07 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.

>Question:  Is there a way to load a div with the html content of a separate URL after a page has 
>been initially rendered?  I've been using iframes recently in IE6 but find them a bit awkward to 
>control.

   I have not yet had a need for this exactly, but i did find this:
http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20931471.html

   It looks like the original poster couldn't really follow the XMLHTTP implementation, but there 
are several examples (and there's always Google)  If you create a working example to test this 
strategy, please post it - i'd like to learn it, but don't have a project to justify the research.

   I have used client-side ADO to talk directly to the SQL server, but outside the intranet 
environment it would be a security risk (exposing the SQL server) and possibly confusing (to have 
users attempt SQL connections through their firewalls on otherwise blocked ports)



More information about the Javascript mailing list