I use the following javascript. It works well for me.
<script language="JavaScript"><!--
                var name = "insert username";
                var domain = "insert domain name";
                document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
                document.write(name + '@' + domain + '</a>');
                // --></script> 
just place it in your code where the usual a href tag would go.
If you want to add a class to it, it goes here --> domain + '\" class="" >');

Ted


-----Original Message-----
From: Mordechai Peller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 06, 2004 7:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Hiding email address from spambots with CSS


Neerav wrote:

> I havent tried this, but it sounds interesting
>
> http://www.phoenity.com/newtedge/hide_email_spambots/

Two problems: doesn't allow "mailto:"; and doesn't work in IE.
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************

Reply via email to