I got the following code:
<body>
<div id="overlay"
<frame src="bla.php"></frame>
</div>
<a href="javascript:hideOverlay()">Close</a>
</body>
What I need now, is to know, how I can close bla.php from within bla.php.
I want to be able to click a link, and then have the parent frame execute hideOverlay to remove the frame.
I tried parent.hideOverlay() but it didn't work.
Ah, I just found out something.
When I open the bla.php directly in the overlay, and then click on the link, it works.
But it doesn't really help me:
First, I open the overlay with a quiz inside (flash). When one is done, you'll be redirected to thanks.php (in my example, it's bla.php). Then, if you click a link in thanks.php, the frame disappears.
Bookmarks