1 Reply Latest reply on Mar 7, 2007 6:59 AM by Newsgroup_User

    image map mailto

    cpanon
      Hello
      Is it possible to have an image map or any other clickable region automatically open a mailto href? It would make a very elegant asethetic on the page and prevent me having to use a crude looking font to attach the mailto to. tia.
        • 1. Re: image map mailto
          Level 7
          On 07 Mar 2007 in macromedia.fireworks, cpanon wrote:

          > Is it possible to have an image map or any other clickable region
          > automatically open a mailto href? It would make a very elegant
          > asethetic on the page and prevent me having to use a crude looking
          > font to attach the mailto to.

          It's a bad plan for a variety of reasons (exposes an email address to
          spam, won't work if there's no mail client configured ie any webmail
          user, all-image sites are bad). However:

          <a href="mailto:cpanon@example.com"><img src="myMailLink.gif"></a>

          OR

          <map name="myMap">
          <area shape=Rect coords="0, 336, 168, 370" href="mailto:cpanon@example.com">
          </map>

          <img src="image002.gif" usemap="#myMap" title="">

          --
          Joe Makowiec
          http://makowiec.net/
          Email: http://makowiec.net/email.php