Êîä
yourname.onSetFocus = function() {
this.text = "";
delete this.onSetFocus;
};
yourmes.onSetFocus = function() {
this.text = "";
delete this.onSetFocus;
};
yourmail.onSetFocus = function() {
this.text = "";
delete this.onSetFocus;
};
submit_btn.onRollOver=function(){
this.gotoAndStop(2);
}
submit_btn.onRollOut=function(){
this.gotoAndStop(1);
}
submit_btn.onRelease=function(){
LO = new LoadVars ();
LO.mailmsg = yourmes.text;
LO.fn = yourname.text
LO.mail = yourmail.text
LO.sendAndLoad ("http://www.XXXXXXX.ru/sendmail.php" , result_lv ,"POST");
yourname.text=""
yourmail.text=""
yourmes.text=""
}
System.useCodepage = true;
this.text = "";
delete this.onSetFocus;
};
yourmes.onSetFocus = function() {
this.text = "";
delete this.onSetFocus;
};
yourmail.onSetFocus = function() {
this.text = "";
delete this.onSetFocus;
};
submit_btn.onRollOver=function(){
this.gotoAndStop(2);
}
submit_btn.onRollOut=function(){
this.gotoAndStop(1);
}
submit_btn.onRelease=function(){
LO = new LoadVars ();
LO.mailmsg = yourmes.text;
LO.fn = yourname.text
LO.mail = yourmail.text
LO.sendAndLoad ("http://www.XXXXXXX.ru/sendmail.php" , result_lv ,"POST");
yourname.text=""
yourmail.text=""
yourmes.text=""
}
System.useCodepage = true;
Ñòàíäàðòíàÿ ñòðî÷êà çâó÷àëà òàê :
Êîä
LO.send ("http://www.XXXXXXX.ru/sendmail.php" , "_self");