View Full Version : Interesting JavaScript Pop-up Problem

05-31-2001, 07:18 PM
Desired Outcome:

Load a single pop-up window (no problem here). Click back to the parent and ...

Then, bring the original pop-up window back into foreground after the parent (using Flash) window loads new content into it.

My Problem:

Whenever I click back into the parent window, the pop-up falls behind, even when loaded with new content by the parent window.

Why this sucks:

Either I lose content, or I have to use a new pop-up whenever I want to load new pop-up content. Not very elegant.

Any ideas would be great. Thanks...


My code is inspired by "Set 'X' and 'Y' of a pop up window" from page six of the ActionScripts.org library.

05-31-2001, 10:26 PM
You can easy to fix it by adding :
<BODY onLoad="window.focus()">
In HTML page which going to popup