Javascript and map

admin

Administrator
Staff member
Hi everybody! :)

I've got a problem...I'm using a javascript which makes open a popup contanining just an image. I'd like making a map from "big_image.jpg" so that clicking on a portion of it the visitor of my site could see a popup containing "image.jpg"
The fact is that the file "xxxxxx.jpg" doesn't exist but it's the content of the map closed by the coords 54,82,199,209.
How can I make the code read correctly the portion of map which I've just mentioned? Thanks to anyone who could help me!


<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"javascript:" onClick="popup(421,440,'image.jpg','TITLE')"><img src=http://www.webdeveloper.com/forum/archive/index.php/"xxxxxx.jpg" alt=""></a>

<img src="big_image.jpg" border="0" align="middle" usemap="#camp01">

<map name="camp01">
<area shape="rect" coords="54,82,199,209" href="xxxxxx.jpg" onFocus="this.blur();" target="_blank">
</map>
 
Back
Top