Jump to content


Photo

dreamweaver: turning image into email link.


  • Please log in to reply
4 replies to this topic

#1 chrisgrieve

chrisgrieve

    Young Padawan

  • Members
  • Pip
  • 24 posts

Posted 29 May 2006 - 02:34 PM

hi there,

i have created a simple website in photoshop and dreamweaver, i have an image that i would like to turn into an email link, is this possible,




www.chrisgrievedesign.co.uk/contact.html

any help please.

cheers.

#2 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 29 May 2006 - 02:36 PM

Take the image, wrap it in a hyperlink:

<a href="mailto:[email protected]"><img src="hello.gif" alt="" border="0" /></a>


#3 chrisgrieve

chrisgrieve

    Young Padawan

  • Members
  • Pip
  • 24 posts

Posted 29 May 2006 - 02:51 PM

i dont really know dreamweaver.

what do you mean by "wrap it in hyperlink" ??

cheers.

#4 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 29 May 2006 - 02:54 PM

hmm, me smells someone has been using Design view?

Well, i dont use dreamweaver and you dont need it for this. :)

Use the code above (changing the image source obviously) to turn the email into image a link by *and this is by memory* clicking once on the image you want to turn into a link in Design view

Then go to code view and the img tag for that image will be selected, or the cursor will be near it.

Simply add

<a href="mailto:[email protected]">

before the image tag

and

</a>

After it.

Edited by .Matt, 29 May 2006 - 02:54 PM.


#5 Faken

Faken

    Pimpmaster G

  • Admin
  • 5,966 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 30 May 2006 - 09:07 AM

In Dreamweaver, just click on the image and then in the URL field in the properties box, put "mailto:[email protected]"

Dan




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users