Buttons Effects >>> Email.
 
Script Categories













Buttons Effects >>> Email.

A JavaScript button will bring up an E-Mail Window for your users. You can also include a predefined subject if you so decide. Both methods are demonstrated.

Add the below code to the <body> section of your page:

<center>
<FORM>
<INPUT
TYPE="button" VALUE="Click Here to Write to Me" onClick="parent.location='mailto:antispammer@somedomen.net'">
</FORM>
<FORM>
<INPUT
TYPE="button" VALUE="Click Here to Write to Me - Subject Predetermined" onClick="parent.location='mailto:spammer@somedomen.net?subject=This Is The Pre-determined Subject'">
</FORM>
</center>

Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©