Jump to content

link different parts of an image to hyperlink


php_begins

Recommended Posts

I manually set the coordinates, most html editors can do what I did.

 

<html>
<body>

<p>Click which image is the problem</p>

<img src="http://www.phpfreaks.com/forums/index.php?action=dlattach;topic=351422.0;attach=17300" width="360" height="190" alt="Problems" usemap="#problemmap" />

<map name="problemmap">
  <area shape="rect" coords="5,40,175,110" alt="1" href="1.htm" />
  <area shape="rect" coords="185,40,355,110" alt="2" href="2.htm" />
  <area shape="rect" coords="5,230,175,110" alt="3" href="3.htm" />
  <area shape="rect" coords="185,270,355,110" alt="4" href="4.htm" />

</map>

</body>
</html>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.