Joined: 11 May 2004 Posts: 406 Location: Nova Scotia
Posted: Mon Jun 14, 2004 4:43 am
I am not well versed in Java but I found this in another forum. Thay were trying to close the popup when the main page finished opening.
Quote:
I am not sure Antaris cuz I cannot see his code and really understand it. Looks like he copied something wrong. Anyways I guess the way to do it would be to have the original popup open just from the head tag.
<head>
<script>
window.open('mypage.html','myWin');
</script>
</head>
and then have
<body onload="myWin.close()"
That is the only way I could see this plan working out.
-dk
It seems to me that if the onload command in the body tag was replaced with an onclose command - it might work - but I am guessing. Anybody out there actually understand Javascript?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum