Shoutbox

Linking parts of an image - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Linking parts of an image (/showthread.php?tid=53060)

Linking parts of an image by Chris4 on 11-17-2005 at 11:47 PM

Basically, I want to link parts of an image to another part of a site.

Here's what I mean, for example:
[Image: attachment.php?pid=566308]

Say that I wanted to link the Google bit to google.com etc...

There is a way to select just that part of the image so it links to google.com ... I've seen it done before.

This is just an example, as I want to learn how to do this so I can use it on my [future] site.


RE: Linking parts of an image by Ezra on 11-17-2005 at 11:51 PM

code:
#
<map name="sample">
<area shape="rect" coords="20,27,82,111" href="hotspot1.html">
<area shape="circle" coords="129,113,29" href="hotspot2.html">
<area shape="rect" coords="21,158,170,211" href="mailto:webmaster@ihip.com">
<area shape="default" nohref>
</map>


# Include the map file code within the desired HTML document and reference it like so:
<img border="0" src="image.gif" usemap="#sample">


That's how to do it, don't have time to change the coords, you can find them using paint or something :)
RE: Linking parts of an image by L. Coyote on 11-17-2005 at 11:51 PM

You mean the MAP HTML tag...

Edit: bah, so I got beaten...


RE: Linking parts of an image by Chris4 on 11-18-2005 at 12:42 AM

Thanks! I'll use it in Frontpage (SharePoint Designer 12 :D BETA tester)