This is a neat way to prevent email address collecting 'robots' from grabbing your email address while still making your address available to your visitors. Since the robots don't understand JavaScript (yet) all you need do is separate the address into two and then use document.write to join them back together.
Here's a mail link to me:
Here's the script:
|
<script language="JavaScript" type="text/javascript"> <!-- user = "apalmer"; isp = "dircon.co.uk"; document.write('<a href=\"mailto:' + user + '@' + isp + '\">'); document.write(user + '@' + isp + '</a>'); // --> </script> |
Obviously, you should substitute your own details after 'user =' and 'isp ='.