I've went and intergrated a secure PHP / Javascript contact form on a website, to be told be the owner after finishing the website that she wants her email address listed as well as the contact form.
Now, I guess I have options here to either go with the flow, do what she wants in the best way I can, or I try to explain the contact form is for a legit reason.
Now I've just have a read at http://www.sitepoint.com/spamproof-site/ And I'm thinking of just using the following JavaScript to create a mailto link that displays the actual address.
Is this advised or what?Code:<script language=javascript> <br> <br> <!-- <br> var username = "username"; <br> var hostname = "yourdomain.com"; <br> var linktext = username + "@" + hostname; <br> document.write("<a href=" + "mail" + "to:" + username + <br> "@" + hostname + ">" + linktext + "</a>") <br> //--> <br> </script>
Thanks.



Reply With Quote




)

Bookmarks