Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help > Bug reports
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 02-28-2008, 07:10 PM
Hanako Hanako is offline
New Comer (less than 5 posts)
 
Join Date: Feb 2008
Location: San Antonio, TX
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Lightbulb Encrypt Email script won't validate

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
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:36 AM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.