window с
index
indexOf
isNaN
italics
lastlndexOf
length
LN2
linkColor
link
link (links array)
links
LN10
location
max
Math
LOG10E
LOG2E
method
log
location с
min
name
navigator
onBlur
onChange
onClick
onFocus
onLoad
onSelect
onMouseOver
onSubmit
onUnload
open
options
parent
parse
parseInt
parseFloat
password
PI
pathname
port
prompt
pow
protocol
radio
random
referrer
reset
round
search
select (options array)
select
selected
self
selectedlndex
setDate
setHours
setMinutes
setMonth
setSeconds
setTime
setTimeout
setYear
sin
small
sqrt
SQRT1_2
toLowerCase
string
status
strike
submit
sub
submit1
substring
sup
tan
text
target
text 1
textarea
top
title
toLocaleString
toGMTString
toLowerCase
unescape
toUpperCase
userAgent
UTC
vlinkColor
write
lastModified
E-mail без загрузки клиента форма
writeln
value
window
E-mail без загрузки клиента
Отправка E-mail по списку |
E-mail без загрузки клиента
<SCRIPT LANGUAGE="JavaScript"> <!-- 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)); } } var blank = ""; return blank; } function setCookie(name, value, expires) { document.cookie = name + "=" + escape(value) + ((expires != null) ? "; expires=" + expires.toGMTString() : "") + "; path=/"; } function setName() { var expdate = new Date (); expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); var prompt=i = document.Mail.name.value; setCookie("name", i, expdate); } function getName() { if(getCookie("name") != null) { document.Mail.Name.value = getCookie("emailname"); } } function getInfo() { var now= new Date(); document.Mail.Info.value = "Browser: " + navigator.userAgent; document.Mail.Info.value += "Date:" + now; } function checkMultiple() { if (getCookie("emailsent") == 'true') return true; else return false; } function process() { setCookie("emailsent", "true"); with (document.Mail) { if (Subject.selectedIndex == 1) action = "mailto:eugenezz@yandex.ru?subject=JS Library - Комментарий"; else if (Subject.selectedIndex == 2) action = "mailto:eugenezz@yandex.ru?subject=JS Library - Вопрос"; else if (Subject.selectedIndex == 3) action = "mailto:eugenezz@yandex.ru?subject=JS Library - Предложение"; else if (Subject.selectedIndex == 4) action = "mailto:eugenezz@yandex.ru?subject=JS Library - Неработающие ссылки"; else action = "mailto:eugenezz@yandex.ru?subject=JS Library - Разное"; } } function formCheck() { var passed = false; with (document.Mail) { if (Subject.selectedIndex == 0) { alert("Пожалуйста, заполните поле \"Тема\"."); Subject.focus(); } else if (Name.value == "") { alert("Пожалуйста, заполните поле \"Ваше имя\"."); Name.focus(); } else if (checkMultiple()) { if (confirm("Вы только что отправили письмо из этой формы. Вы уверены, что хотите отправить еще одно?")) { process(); passed = true; } } else { process(); passed = true; } } return passed; } // End --> </SCRIPT>
© index
|