![]() |
|
|||||||
| Kayıt ol | Yardım | Üye Listesi | Ajanda | Arama | Bugünki Mesajlar | Bütün Forumları okunmuş kabul et |
| Js Js Hakkında Herşey, Js Kodları |
![]() |
|
|
LinkBack | Seçenekler |
|
|
#1 (permalink) | ||
|
Kıdemli Üye
Üyelik tarihi: Apr 2008
Mesajlar: 149
Tecrübe Puanı: 1
![]() Thanks: 0
Thanked 2 Times in 2 Posts
|
<!-- TWO STEPS TO INSTALL FORM VALIDATION: 1. Paste the first coding into the HEAD of your HTML document 2. Put the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! [Linkleri Ve Forumun Tam İçeriğini Sadece kayıtlı üyelerimiz görebilir. GirBuraya.Net´in ÜCRETSİZ Üyesi oLmak için Hemen TIKLAYINIZ] --> <!-- Begin function getCookie(name){ var cname = name + "="; var dc = document.cookie; if (dc.length > 0) { begin = dc.indexOf(cname); if (begin != -1) { begin += cname.length; end = dc.indexOf(";", begin); if (end == -1) end = dc.length; return unescape(dc.substring(begin, end)); } } return null; } function setCookie(name, value) { var now = new Date(); var then = new Date(now.getTime() + 31536000000); document.cookie = name + "=" + escape(value) + "; expires=" + then.toGMTString() + "; path=/"; } function getInfo(form) { form.info.value = "Browser Information: " + navigator.userAgent; } function getValue(element) { var value = getCookie(element.name); if (value != null) element.value = value; } function setValue(element) { setCookie(element.name, element.value); } function fixElement(element, message) { alert(message); element.focus(); } function isMailReady(form) { var passed = false; if (form.fullname.value == "") { fixElement(form.fullname, "Please include your name."); } else if (form.email.value.indexOf("@") == -1 || form.email.value.indexOf(".") == -1) { fixElement(form.email, "Please include a proper email address."); } else if (form.message.value == "") { fixElement(form.message, "Please include a message."); } else { getInfo(form); passed = true; } return passed; } // End --> </SCRIPT> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <CENTER> <FORM NAME = "mail" ACTION = "mailto:youremailaddress.com" METHOD = "POST" ENCTYPE = "text/plain" onSubmit = "return isMailReady(this);"> <INPUT TYPE = "hidden" NAME = "info"> <TABLE BORDER = 0 CELLPADDING = 5 CELLSPACING = 0> <TR> <TD> Your Name: <P> <INPUT TYPE = "TEXT" NAME = "fullname" onFocus = "getValue(this)" onBlur = "setValue(this)"> </TD> <TD> Your Email Address: <P> <INPUT TYPE = "TEXT" NAME = "email" onFocus = "getValue(this)" onBlur = "setValue(this)"> </TD> </TR> <TR> <TD COLSPAN = "2"> Enter your Message: <P> <TEXTAREA ROWS = "8" COLS = "38" NAME = "message">
__________________
...::: Lord Of The HeLL :::... |
||
|
|
|
![]() |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | son Mesaj |
| E mail Ayarları | Cansu | Mail Yardım | 1 | 04-06-08 15:47 |
| Php ile mail yollamak | OttoMan | Php | 0 | 04-04-08 21:05 |
| Mail Gönder 1.0 | Jack | Program Arşivi ve Türkçe Yamalar | 0 | 03-02-08 20:00 |
| E-Mail hakkında bilmedikleriniz | Cansu | Mail Yardım | 0 | 12-23-07 02:10 |
| E-Mail Güvenliği | Cansu | Mail Yardım | 0 | 12-16-07 01:01 |
mirc
mırc
çet
cet
sohbet
chat
canlı tv