Its client side JavaScript.
You place it in the body of the page (in code view) where you want a
mailto: link to show.
Example:
<body>
<p> loads of page thingummies here </p>
<p>
<script language=javascript>
<!--
var username = "wayne";
var hostname = "example.com";
var linktext = "Click Here To Send Me a Email";
document.write("<a href=" + "mai" + "lto:" + username + "@" + hostname +
">"
+ linktext + "</a>")
//-->
</script>
</p>
<p> rest of page </p>
</body>
The link will only appear if JavaScript is enabled on the browser.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
http://www.rxs-enterprises.org/fp
"Wayne-I-M" <(E-Mail Removed)> wrote in message
news:9C9F14D2-0DB7-4BB3-BADE-(E-Mail Removed):
> Hi
>
> I got this code from a post from Don (9/28/2004 9:32 AM PST) in this group.
> I have been trying to get it to work - but can't :-(
>
> Is it like an access module - do I call it from an OnClick event?
>
> Does it go in the head or the body. I know this will be really simple for a
> frontpage expert (which I am "not")
>
> Thank you for your help
>
>
> <script language=javascript>
> <!--
> var username = "wayne";
> var hostname = "some_domain.com";
> var linktext = "Click Here To Send Me a Email";
> document.write("<a href=" + "mai" + "lto:" + username + "@" + hostname +
> ">"
> + linktext + "</a>")
> //-->
> </script>
>
>
> --
> Wayne
> Manchester, England.