parent.html Script to open a pop-up window, test for pop-up blockers, then open an iframe instead.
parent2.html Same as above, but with an intentional failure. Does not attempt to open the new window.
child.html Pop-up page.

Script created and provided free of charge my Mike Led. Give back to the world that teaches you.