Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   Need help to make e-mail "link" (https://www.askmehelpdesk.com/showthread.php?t=23315)

  • Mar 24, 2006, 10:26 AM
    Tech
    Need help to make e-mail "link"
    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.
  • Mar 24, 2006, 10:31 AM
    RickJ
    You can do a basic one like this, but it will be fodder for spam bots:
    Code:

    <a href="mailto:You @yourdomain.com">Text of Email link</a>
    Or you can do one like this with JavaScript (my personal preference):
    Code:

    <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.
  • Mar 24, 2006, 10:38 AM
    Tech
    Thanks Rick, I'll try that.
  • Mar 24, 2006, 10:52 AM
    RickJ
    You're welcome! Let us know when your site is up so we can check it out.

  • All times are GMT -7. The time now is 10:48 PM.