Log in

View Full Version : Need help to make e-mail "link"


Tech
Mar 24, 2006, 10:26 AM
Hi I need some advice on how to make my webpage "e-mail address" link to actually open up the clients e-mail program (outlook express or Outlook).

I have to tell you that this is my first attempt at a webpage, and I'm using Photoshop7 (to make the page) and will be also using Dreamweaver for coding (also new this one coding stuff).

Can anybody tell or better yet direct me to a webpage Tuturial?

Thanks for your time.

RickJ
Mar 24, 2006, 10:31 AM
You can do a basic one like this, but it will be fodder for spam bots:

<a href="mailto:You @yourdomain.com">Text of Email link</a>

Or you can do one like this with JavaScript (my personal preference):

<script language="JavaScript" type="text/javascript">
<!--
document.write("<A HREF='mailto:"+"you"+"@"+"yourdomain.rr.com"+"'>"+"Contact"+" Us"+"</A>");
//-->
</script>

Heck, take advantage of DW's interface so you don't have to learn a bunch of coding... just my opinion.

PS, the first one is the basic that you get when you use Insert > Email Link option in DW... the 2nd one is code you need to enter manually.

Tech
Mar 24, 2006, 10:38 AM
Thanks Rick, I'll try that.

RickJ
Mar 24, 2006, 10:52 AM
You're welcome! Let us know when your site is up so we can check it out.