E-MAIL KŰLDŐ.
2007.11.09. 09:08
<FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain" onSubmit="(document.mailer.action += mailtoandsubject)"> <TABLE BORDER=0> <TR VALIGN="top"> <TD>Cimzett:</TD> <TD><SELECT NAME="mailtoperson" onChange="msg(this.form)"> <OPTION VALUE="ide az emailcímed@uw.hu">Ide a nevet ahova megy a mail </option></SELECT></TD> </TR> <TR VALIGN="top"> <TD>Neved:</TD> <TD><INPUT TYPE="text" SIZE=45 NAME="név" onChange="msg(this.form)" /></TD> </TR> <TR VALIGN="top"> <TD>Email címed:</TD> <TD><INPUT TYPE="text" SIZE=45 NAME="email" onChange="msg(this.form)" /></TD> </TR> <TR VALIGN="top"> <TD>Tárgyt:</TD> <TD><INPUT TYPE="text" SIZE=45 NAME="subject" onChange="msg(this.form)" /></TD> </TR> <TR VALIGN="top"> <TD>Megjegyzés: <p> <p></p> </TD> <TD><TEXTAREA NAME="üzenet" COLS=45 ROWS=5 WRAP="virtual" OnChange="msg(this.form)"></TEXTAREA></TD> </TR> <TR> <TD> <p align="center"> <p></p> </TD> <TD><INPUT TYPE="submit" VALUE="Üzenet elküldése" /> <INPUT TYPE="reset" VALUE="Töröl" /></TD> </TR> </TABLE> </FORM> <SCRIPT LANGUAGE="JavaScript"> function msg() { document.mailer.action = "mailto:" mailtoandsubject = ((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value) + '?subject=' + document.mailer.subject.value); } </SCRIPT>
|