How do I link a button to a...

User 567546 Photo


Guest
1 post

Hi,

Brand new to this, but I am getting the hang of it fast thanks to VSD.

I have an anti-spam email script that I want to use. I can insert it and there on the page is an email link. What I would like to do is take every reference to "contact us" to cause this script to execute.

Otherwise All I can put on the page is a very meager looking email link.

Thanks in advance!

BTW here is the email script--if anyon has a suggestion for something better I am all ears.

<script type="text/javascript">
document.write('<'+'a hre'+'f="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#115;&#97;&#108;&#101;&#115;&#49;&#50;&#51;&#64;&#101;&#108;&#105;&#116;&#101;&#108;&#97;&#109;&#112;&#116;&#101;&#99;&#104;&#46;&#99;&#111;&#109;">');
document.write('&#115;&#97;&#108;&#101;&#115;&#49;&#50;&#51;&#64;&#101;&#108;&#105;&#116;&#101;&#108;&#97;&#109;&#112;&#116;&#101;&#99;&#104;&#46;&#99;&#111;&#109;</'+'a>');
</script>

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.