auto email link




JavaScript Source Code 3000: Forms: Auto Email Link








































Auto Email Link







Automatically opens a new e-mail using your default e-mail client and fills in the subject line and body with the address of the current web page. Neat!





E-MAIL THIS LINK

Enter recipient's e-mail:









JavaScript Source Code 3000: Forms: Auto Email Link
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!





    





<!-- TWO STEPS TO INSTALL AUTO EMAIL LINK:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: CodeLifter.com (support@codelifter.com) -->
<!-- Web Site: http://www.codelifter.com -->

<! >
<! >

<!-- Begin
var good;
function checkEmailAddress(field) {
// the following expression must be all on one line...
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (goodEmail) {
good = true;
}
else {
alert('Please enter a valid e-mail address.');
field.focus();
field.select();
good = false;
}
}
u = window.location;
m = "I thought this might interest you...";
function mailThisUrl() {
good = false
checkEmailAddress(document.eMailer.address);
if (good) {
// the following expression must be all on one line...
window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;
}
}
// End -->
</script>

</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<form name="eMailer">
E-MAIL THIS LINK
<br>
Enter recipient's e-mail:
<br>
<input type="text" name="address" size="25">
<br>
<input type="button" value="Send this URL" onClick="mailThisUrl();">
</form>



<!-- Script Size: 1.69 KB -->











Wyszukiwarka

Podobne podstrony:
AUTO TRANS DIAGNOSIS AG4
link
link
link
Volkswagen Temporary Auto Pilot
email template product notification
link DYM efekty video z dymem
Auto alarm Digital Tytan DS200 instr obslugi
email vaild reg
email subjects
40 97 Lower guide link remove & install
http www e32 schrauber de bmw daten getriebe ZF huile pour boite auto

więcej podobnych podstron