|
Posted by easygoin on 09/09/05 17:14
chlori wrote:
> Mark Parnell schrieb am 09.09.2005 08:44:
> On one of the sites that wouldn't work, because it's a
> volleyball clubs site, where many people have addresses with
> that domain name and it's quite poosible that they use a
> contact form. Any solutions for this?
my personal favourite is to use a safe form script - there are quite a
few "spam safe form scripts" - checkout http://www.hotscripts.com
or for lots of addresses - how about simple and small script to split
up the email addresses and simply put mailto links - here is one i use:
/***********************************************
* no spam - save as something like nospam.js
***********************************************/
function nospam(addr, dom, sub) {
if (dom==null) {dom="yourdomainhere.com"};
newloc = "mailto:"+addr.replace(/ /gi,'.')+"@"+dom;
if (sub!=null) { newloc += '?Subject='+sub; };
document.location = newloc;
}
then in the html page place this:
<a href="javascript:nospam('firstpartofaddress')">name or department or
whatever</a>
Navigation:
[Reply to this message]
|