How to: close.window using image map

admin

Administrator
Staff member
Can someone tell me how to close a pop-up window using image map?

Here's my code and it's not working.

<map name="map">
<area shape="rect" coords="258,6,345,23" href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:window.close();">
</map>


Do I need to set up a reference code for window.close in the head tag?
 
Back
Top