When you include a link of the format:
<a href="mailto:sales@domain.co.uk">click to email us</a>
...it can be picked up by email address harvesters and used to build spam lists.
The following code will look the same to customers, but will protect your email address:
<script type=text/javascript>
var _u = "sales";
var _d = "domain.co.uk";
var _l = _u + "@" + _d;
var _m = "click to email us";
document.write("<a href='mailto:"+_l+"'>"+_m+"</a>");
</script>
Change the 'sales' and 'domain.co.uk' to your own email address.
<a href="mailto:sales@domain.co.uk">click to email us</a>
...it can be picked up by email address harvesters and used to build spam lists.
The following code will look the same to customers, but will protect your email address:
<script type=text/javascript>
var _u = "sales";
var _d = "domain.co.uk";
var _l = _u + "@" + _d;
var _m = "click to email us";
document.write("<a href='mailto:"+_l+"'>"+_m+"</a>");
</script>
Change the 'sales' and 'domain.co.uk' to your own email address.