D
Donna
A friend sent me a snippet of JavaScript so that I could use it in place
of mailto: to avoid the spam bots. He said to copy and paste the code
where the mailto was found in my html page. I have tried this several
times, but the first problem is that the JavaScript is showing on the
preview page (not hidden as code). I admit that I don't know any html
basically and was wondering if someone could help. For instance, there
is an href:mailto: lurking on my index page at
http://www.donnamcmenamin.com
Could some kind soul instruct me further as to exactly how to place this
code there? Thanks.
Here's the code.
<script language="JavaScript"><!--
var name = "yourname";
var domain = "yourdomain";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
// --></script>
of mailto: to avoid the spam bots. He said to copy and paste the code
where the mailto was found in my html page. I have tried this several
times, but the first problem is that the JavaScript is showing on the
preview page (not hidden as code). I admit that I don't know any html
basically and was wondering if someone could help. For instance, there
is an href:mailto: lurking on my index page at
http://www.donnamcmenamin.com
Could some kind soul instruct me further as to exactly how to place this
code there? Thanks.
Here's the code.
<script language="JavaScript"><!--
var name = "yourname";
var domain = "yourdomain";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
// --></script>