
Definition: A Popunder Window is a window created using the JavaScript window.open function. It is called a "popunder" because the new window "pops" under the current browser window. First popularized by annoying ads that "pop" open as soon as you load a web page. Because they show up under the current browser, the user has to first find and select the window before they can close it.
Creating PopUnders with GoLive requires some fiddling with an existing Action Windowfocus.action written by Paul Vachier.
Fiddle the WindowFocus.action.
#1. Open the WindowFocus.action.
#2. Save As: MyWndowFocus.action.
Now you got two Actions with the same function, but two different names. To avoid conflicts between the two of them proceed to step 3.
#3. Open MyWndowFocus.action in Source mode.
#4. Do two Find/Replace. Both replacements will happen twice.
The reason you have to alter the script is that if you do not, the script will work in Netscape only.
Restart GoLive to have GL to recognize the MyWndowFocus.action.
Now you have a new Action in your collection.
Now to the PopUnder itself.
In the page you like to have a PopUnder appear from you apply two HeadActions (?).
#1. To the first HeadAction you apply some sort of Open New Window Action. Fill in the settings as you like the window to pop up.
#2. To the second HeadAction you apply your fresh cooked MyWindowFocus.action.
Both is set to execute on OnLoad.
That's it!
What happens is this:
The page A is called and page A will call another page B. Page B will go out of focus because of MyWindowFocus.action in the Head Section of page A.
Tested to work in (Mac browsers) :
Safari 1.0
Netscape 7.0
IE 5.2.2
Opera 6.0