[SOC] Done with it.
Nigel Gunn G8IFF/W8IFF
nigel at ngunn.net
Wed Dec 23 13:17:39 EST 2009
Here's the code snippet:
<SCRIPT type="text/javascript">
var name = "soc"
var domain = "qsl.net"
document.write("<A HREF='mailto:" + name + "@" + domain + "?subject=SOC Membership&body=Hi, I want a number too ! My
name is _NAME_, my call is _CALL_ and I want/do not want my email to be listed on the SOC web. I hereby agree with the
terms of application.'><IMG border=0 src='pics/mem9.gif'><\/A>")
</SCRIPT>
Here's what it does:
var name = "soc"
var domain = "qsl.net"
assigns the values "soc" and "qsl.net" to the two variables "name" and "domain" which then replace the variable names in
the "mailto: + name + "@" + domain" bit. This saves including a full e-mail address in the web page that can be
harvested by a 'bot.
document.write("......") is basically a javascript PRINT statement. It prints that character string to your web
browser's current window. Your browser interprets the "HREF='mailto:" bit as meaning open the users default e-mail
client and insert the following into a new e-mail addressed to name + "@" + domain
?subject=SOC Membership directs it to put "SOC Membership in the SUBJECT field and "Hi, I want.......of application"
goes into the body of the message for you to modify with your details and send.
<IMG border=0 src='pics/mem9.gif'> puts the link on the web page.
On 23-Dec-09 17:05, w9ya wrote:
> FB on a blinky mashy Mike and VY SOC of you....but I am not the code-maven
> on that website so I cannot implement that.
More information about the SOC
mailing list