PDA

View Full Version : Encrypt Email script won't validate



Hanako
02-28-2008, 06:10 PM
1) Script Title: Encrypt Email script

2) Script URL (on DD): http://www.dynamicdrive.com/emailriddler/

3) Describe problem: this script wouldn't validate on http://validator.w3.org

I made the following changes (in red), and now it will. (NOTE: script works as is, just won't validate, so if this is not posted in the correct spot, I apologize.)

THIS IS MY PERSONAL EMAIL ENCRYPTED
_______________________
<script type="text/javascript">
/*<![CDATA[*/

/***********************************************
* Encrypt Email script- Please keep notice intact
* Tool URL: http://www.dynamicdrive.com/emailriddler/
* **********************************************/
<!-- Encrypted version of: khyraen [at] *******.*** //-->

var emailriddlerarray=[107,104,121,114,97,101,110,64,107,104,121,114,97,101,110,46,99,111,109]
var encryptedemail_id50='' //variable to contain encrypted email
for (var i=0; i<emailriddlerarray.length; i++)
encryptedemail_id50+=String.fromCharCode(emailriddlerarray[i])

<!--
document.write('<a title="launch an e-mail to the webpage admin" href="mailto:'+encryptedemail_id50+'?subject=RE: khyraen.com Error 401">'+encryptedemail_id50+'<\/a>');
// -->


/*]]>*/
</script>
_________________
The reason I made the changes I did was because that is what it said to do in the help section of the validator. The script still works. (No, I know nothing about Javascript.)

thought this might be helpful info

hanako