PDA

View Full Version : Link into Area Shape


Savarona
04-06-2008, 03:06 PM
Hi all,

How can i write this link

<a href="http://client11.addonchat.com/sc.php?id=298496"
onClick="window.open('http://client11.addonchat.com/sc.php?id=298496',
'addonchat','width=620,height=440,status=no,scroll bars=no,menubar=no,resizable=yes');
return false">My addonChat Chat Room</a>

to (area shape)

<div style="position: absolute; left: 128px; top: 333px; width: 146px; height: 234px; z-index: 15;"><img src="LAYERYAZIALTI.jpg" border="0" usemap="#Map3"/>
<map name="Map3" id="Map3">
<area shape="poly" coords="129,161,118,164,110,170,100,171,79,174,62,173,53,1 73,41,180,49,195,70,191,81,189,95,192,111,191,128, 190,141,190,141,179,132,160,136,167" target="_blank" />
</map></div>

please help me . Thanks.

Yours respectfully.

domedia
04-06-2008, 08:41 PM
Try to put the onClick event right into the are tag:
<area shape="poly" coords="129,161,118,164,110,170,100,171,79,174,62, 173,53,173,41,180,49,195,70,191,81,189,95,192,111, 191,128,190,141,190,141,179,132,160,136,167" onClick="window.open('http://client11.addonchat.com/sc.php?id=298496',
'addonchat','width=620,height=440,status=no,scroll bars=no,menubar=no,resizable=yes');">