View Full Version : link image mapping to mail to
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?
03-17-2005, 03:22 AM
<img src=images/top.gif alt="Eat at Chilango's Latin Gourmet" width=749 height=130 border=0 href="#mailto:email@example.com">to this:
<a href="mailto:firstname.lastname@example.org"><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:email@example.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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.