In an effort to prevent spam to my email addresses i've used a method found here. This is what it generates for 'example@test.com'.I thought this looked fine so i used it some email addresses but it wasnt untill i checked the source code that i saw it is displayed asCode:<script type="text/javascript"> /*********************************************** * Encrypt Email script- Please keep notice intact. * Tool URL: http://www.dynamicdrive.com/emailriddler/ * **********************************************/ var emailarray7244= new Array(101,120,97,109,112,108,101,64,116,101,115,116,46,99,111,109) var postemail7244='' for (i=0;i<emailarray7244.length;i++) postemail7244+=String.fromCharCode(emailarray7244[i]) document.write('<a href="mailto:'+postemail7244+'">+postemail7244+</a>') </script>Does this defeat the purpose of going through the whole process in the 1st place???HTML Code:<script type="text/javascript" language="javascript"> document.write('<a href="mailto:'+postemail7244+'">'+postemail7244+'</a>') </script><a href="mailto:example@test.com">example@test.com</a>






dont know what happened cos i copied and pasted that second code straight from the source and just replaced the email i was using with the example. sorry to stuff u around.. i just thought maybe javascript ran the function and put it into the html 1st

Bookmarks