2. Add Gadgets.
3. Choose HTML / JavaScript.
4. Copy the code below and paste the widget box
Code:
<script language="JavaScript">5. Save
<!-- Begin
var initialsubj="Hello friend ..! Maybe you need this article .."
var initialmsg="Hai:\n Check the site now.: "+window.location
var good;
function checkEmailAddress(field) {
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
if (goodEmail) {
good = true;
}
else {
alert('Enter a valid email address ..!.');
field.focus();
field.select();
good = false;
}
}
u = window.location;
function mailThisUrl() {
good = false
checkEmailAddress(document.eMailer.email);
if (good) {
//window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u;
window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
}
}
// End -->
</script>
<center><form name="eMailer">
Tell a friend about this article:
<br/>
<input type="text" name="email" size="26" value=" Enter Email Here!" onfocus="this.value=''" onmouseover="window.status='Enter your email address here and tell a friend about this article...'; return true" onmouseout="window.status='';return true" />
<br />
<input type="button" value="Send this URL" onmouseover="window.status='Click to send email (with page address) to a friend! Enter your email address above ...'; return true" onmouseout="window.status='';return true" onclick="mailThisUrl();" />
</form></center>
Note:
* Place the box just below the widget your post
* Replace all red text with your writing