View Full Version : Email Riddler not working if customised

10-23-2011, 02:09 PM
1) Script Title: Email Riddler

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

3) Describe problem: The riddler works fine if I don't change the original script, but if I try to change the colour like the example shown, the colour changes fine but it doesn't add any email or subject info to the email form that opens.

I'm not great with code, but can copy/paste into the correct places!

If possible could someone show me how to edit the code so it works properly & also makes the text that appears on my page Verdana 12pt plus coloured blue (hex code use preferred)

Thank you.:)

10-23-2011, 05:30 PM
Once you get something like this (yours will vary depending upon the information you added before clicking the Encrypt Email button):

<script type="text/javascript">

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

var emailriddlerarray=[121,111,117,64,121,111,117,114,100,111,109,97,105,110,46,99,111,109]
var encryptedemail_id77='' //variable to contain encrypted email
for (var i=0; i<emailriddlerarray.length; i++)

document.write('<a id="myencrypted" href="mailto:'+encryptedemail_id77+'">Contact Us</a>')


add the highlighted as shown.

Then in the head of the page you can put:

<style type="text/css">
#myencrypted {
font-family: verdana, arial, sans-serif;
font-size: 12pt;
color: #0000ff;