Arkadaşına tavsiye et kodu
:: Web Master :: Kod Arşivi
1 sayfadaki 1 sayfası
Arkadaşına tavsiye et kodu
- Kod:
<!-- 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 (
<script language='JavaScript' type='text/javascript'>
<!--
var prefix = 'ma' + 'il' + 'to';
var path = 'hr' + 'ef' + '=';
var addy9438 = 'support' + '@';
addy9438 = addy9438 + 'codelifter' + '.' + 'com';
document.write( '<a ' + path + '\'' + prefix + ':' + addy9438 + '\'>' );
document.write( addy9438 );
document.write( '<\/a>' );
//-->\n </script> <script language='JavaScript' type='text/javascript'>
<!--
document.write( '<span style=\'display: none;\'>' );
//-->
</script>Bu e-Posta adresi istek dışı postalardan korunmaktadır, görüntülüyebilmek için JavaScript etkinleştirilmelidir
<script language='JavaScript' type='text/javascript'>
<!--
document.write( '</' );
document.write( 'span>' );
//-->
</script>) -->
<!-- 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(^(\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 -->
:: Web Master :: Kod Arşivi
1 sayfadaki 1 sayfası
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz