Trying to close a popup when parent finished loading
riotfire
6:36 pm on Sep 23, 2003 (gmt 0)
I have a link that when clicked a pop-up comes up and the parent page starts to load a new page. Is it possible to have the pop-up close when the parent is done loading, or at least change the content of the pop-up.
korkus2000
7:14 pm on Sep 23, 2003 (gmt 0)
Welcome to WebmasterWorld riotfire,
onload="nameofpopup.close();" or onload="nameofpopup.location='newpage.htm'"
riotfire
7:36 pm on Sep 23, 2003 (gmt 0)
Im new to this, where do i put that code and how do i name the pop-up window itself? I tryed what i thought was correct but i had no success.
korkus2000
7:39 pm on Sep 23, 2003 (gmt 0)
You put an onload in the body tag. Naming a window should happen when you open it like: