View Single Post

  #8 (permalink)  
Old 02-12-2006, 02:40 PM
ButtermilkJack's Avatar
ButtermilkJack ButtermilkJack is offline
Wannabe Geek
 
Join Date: Feb 2006
Location: Dublin, Ireland
Posts: 267
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ButtermilkJack will become famous soon enough
Default

Quote:
Originally Posted by Cormac View Post
You could place the email address inside a script...
here's one I found a few years back and have been using it eversince. Can't remember where I got it but no doubt on some helpful tutorial site

<script type="text/javascript">

<!--
var username = "name";
var hostname = "domain.xx";
var linktext = username + "@" + hostname;
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + ">" + linktext + "</a>")
//-->
</script>


Probably similar to ideas already mentioned above but it's a nice little script I think.
__________________
Print & Web Design
Reply With Quote