Forum Moderators: coopster
A site is displaying about 1500 member's email addresses through a directory, those addresses are already published in a printed book version.
However I wish not to facilitate spambot work :)
Thank you
Regards
<<<
<SCRIPT LANGUAGE="JavaScript">
<!--
var lhs = "mike";
var rhs = "website.com";
function print_mail_to_link()
{
document.write("<A HREF=\"mailto");
document.write(":" + lhs + "@");
document.write(rhs + "\">" + lhs + "@" + rhs + "<\/a>");
}
//-->
</SCRIPT>
Here's the code to call the function:
This code goes where you want your “mailto” address to appear on the page.
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
print_mail_to_link()
</SCRIPT>
>>>