Adding a mailto link with an obfuscated address

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Doubledown
Advanced
Advanced
Posts: 14
Joined: Wed May 21, 2003 11:20 pm

Adding a mailto link with an obfuscated address

Post by Doubledown »

Hi there, i'm trying to add a mailto link in a menu item. I know how to add a mailto link for a typical email address, but the client I am doing this for wants the email address obfuscated, so that spambots won't recognize the email address. Here's a link to an obfuscator, in case you're not familiar with the idea - http://www.albionresearch.com/misc/obfuscator.php

Anyways, after I convert the email address, the resulting obfuscated address ends up being a collection of letters, semi-colons, ampersands, and the like. (I'd show you what the obfuscated string of characters were, but this posting tool converts it to the correct email address. Try the obfuscator for yourself to see the type of text string that it comes up with for an email address.)

Obviously, the menu doesn't react well to that.

Anyone have an idea as to how to implement this obfuscated address into the menu?

Thanks.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Try this post for information on obfuscated email mailto links. There's an example of doing it with a javascript function and also it shows how with php but I don't know what you'd put in the link for the php one.

Ruth
Doubledown
Advanced
Advanced
Posts: 14
Joined: Wed May 21, 2003 11:20 pm

Post by Doubledown »

Super, thanks!
Post Reply