I finally figured out how to make the email Java script fill in the
subject line!
<SCRIPT language="JavaScript" type="text/JavaScript">
name = "your name";
user = "email user name";
site = "email provider";
document.write('<a href="mailto:' + user + '@' + site +
'?subject=webpage comments' + '">');
document.write(name + '</a>');
</SCRIPT>
To use it replace "your name" with your name inside the quotes, IE "Scott
Scheibe"
Replace "email user name" with your account user name, IE "dsscheibe"
Replace "email provider" with your ISP, IE "earthlink.net"
The subject you can change what ever is after the =and the ' IE
'?subject=Cogen webpage comments'
Do not modify anything else, especially anything but the text of
the subject in the document.write statement.
It will put a link in your page that has your name which when clicked on
will open an email in the user's program with what ever you have in the
subject. Of course the user must have Java script enabled or it will not
work, but it is totally proof against email harvester's since they only
read text and won't load the script.
You can test it on the Colorado GenWeb site on any link for
Sundee, Gail or me. At least I think I got them all, coding wasn't very
consistent across the website.. I'm working on it
Scott Scheibe
dsscheibe(a)earthlink.net
http://scottsworld.info/gene.htm
Colorado State CoGen Webmaster
<
http://www.rootsweb.com/~cogenweb/>
Alamosa Co., Costilla Co., Mineral Co. & Rio Grande Co., Saguache Co.,
Colorado Coordinator, CoGenWeb, part of the USGenWeb Project
<
http://www.rootsweb.com/~coalamos/> <
http://www.rootsweb.com/~cocostil/>
<
http://www.rootsweb.com/~cominera/> <
http://www.rootsweb.com/~coriogra/>
<
http://www.rootsweb.com/~cosaguac/>
Descendants of Capt. Henry WOODWARD
<
http://woodward.scottsworld.info/>