PDA

View Full Version : email riddler with images



nicka
02-16-2007, 02:46 PM
1) Script Title: email riddler

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

3) Describe problem:

what I would like to do is to use your email encryptor tool which is
brilliant in two different ways:

1. linked to a hotspot - eg as in the email link on
http://www.rock-pool.net/, and:

2. linked to an image that changes on hover as in
http://www.amimotormanagement.co.uk/contacts/dave.html

I would be eternally grateful for help

Thanks

Nick

jscheuer1
02-17-2007, 06:19 PM
Here is the display part of riddler:


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


The red parts are just ordinary HTML. The green part represents insertion of the riddled email address and (if included) subject. You could change this line to use whatever HTML you like. If you use the single quote (') character though, it must be escaped with the down slash (\), ex:


document.write('<a href="mailto:'+encryptedemail_id57+'"><img src="whatever.jpg" onmouseover="this.source=\'someother.jpg\';"></a>')

nicka
02-26-2007, 11:37 AM
thanks for your reply John and sorry that I have taken so long to respond

p.s. I will be donating later today