Neler yeni
Türkiye'nin En Güncel Forum Sitesi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı yada giriş yapmalısınız. Forum üye olmak tamamen ücretsizdir.

Otomatik Email Link Gönderici (ing)

ByOnur58

Kayıtlı Üye
MFC Üyesi
  • Üyelik Tarihi
    7 Ocak 2015
  • Mesajlar
    2,113
  • MFC Puanı
    10
  • MFC Seviyesi

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

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

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

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  CodeLifter.com ([email protected]) -->
<!-- Web Site:  http://www.codelifter.com -->

<!-- This script and many more are available free online at http://www.ibold.net-->


<!-- Begin
var good;
function checkEmailAddress(field) {
// the following expression must be all on one line...
var goodEmail = field.value.match(/\b(^(\[email protected]).+((\.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.********;
m = "I thought this might interest you...";
function mailThisUrl() {
good = false
checkEmailAddress(********.eMailer.address);
if (good) {
// the following expression must be all on one line...
window.******** = "mailto:"+********.eMailer.address.value+"?subject="+m+"&body="+********.title+" "+u;
   }
}
//  End -->
</script>

</HEAD>

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

<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 -->
 
Üst Alt