PDA

View Full Version : link image mapping to mail to



mush
03-17-2005, 12:31 AM
On the website www.eatatchilangos.com, I would like to make the email address in the logo link to the email address and open up the email client when clicked on just like a "mailto" tag. Does anyone know how to do this simply?

Thank you.

jscheuer1
03-17-2005, 03:22 AM
Simple:
Change this:

<img src=images/top.gif alt="Eat at Chilango's Latin Gourmet" width=749 height=130 border=0 href="#mailto:chilangos@eatatchilangos.com">to this:

<a href="mailto:chilangos@eatatchilangos.com"><img src=images/top.gif alt="Eat at Chilango's Latin Gourmet" width=749 height=130 border=0></a>However, that makes the entire top.gif, when clicked, the link for email. If you want only the email address on the picture to be the link, try this:

<IMG SRC = "images/top.gif" USEMAP = "#1" ALT = "Eat at Chilango's Latin Gourmet" title="Eat at Chilango's Latin Gourmet" BORDER = "0">
<MAP NAME = "1">
<AREA SHAPE = "RECT" COORDS = " 404, 94, 653, 115" HREF = "mailto:chilangos@eatatchilangos.com" ALT = "Contact Us!" title="Contact Us!">
<AREA SHAPE = "DEFAULT" NOHREF>
<!-- Image map created with Meracl ImageMap Generator, get it for free at http://come.to/meracl -->
</MAP>should work, notice the comment/credit for a very nice freeware image map generator program.