Hallo,
Ik ben bezig mijn eerste website in flash te bouwen. Tot nu toe gaat het aardig, alleen loop ik al een tijdje vast op 1 ding; een mailform. De website is een template die ik flink aan het aanpassen ben, om zo wat meer te leren over de functies.
Hieronder heb ik het actionscript van het mailform geplaatst, hopelijk zien jullie waar ik moet invoeren naar welk e-mail adres de info moet worden gestuurd. Misschien moet k het ook wel ergens anders invoeren, maar helaas kom ik er niet uit.... Alvast bedankt voor jullie hulp!
Dit is het actionscript achter de pagina 'form':
//t1.onSetFocus=function(){if(t1_2=="your name") {t1_2=""} }
t2.onSetFocus = function() {
if (field_1 == "your company:") {
field_1 = "";
}
};
t2.onKillFocus = function() {
if (field_1 == "") {
field_1 = "your company:";
}
};
t4.onSetFocus = function() {
if (your_email == "e-mail:") {
your_email = "";
}
};
t4.onKillFocus = function() {
if (your_email == "") {
your_email = "e-mail:";
}
};
t1.onSetFocus = function() {
if (your_name == "your name:") {
your_name = "";
}
};
t1.onKillFocus = function() {
if (your_name == "") {
your_name = "your name:";
}
};
t3.onSetFocus = function() {
if (field_2 == "telephone:") {
field_2 = "";
}
};
t3.onKillFocus = function() {
if (field_2 == "") {
field_2 = "telephone:";
}
};
t5.onSetFocus = function() {
if (message == "message:") {
message = "";
}
};
t5.onKillFocus = function() {
if (message == "") {
message = "message:";
}
};
Ik ben bezig mijn eerste website in flash te bouwen. Tot nu toe gaat het aardig, alleen loop ik al een tijdje vast op 1 ding; een mailform. De website is een template die ik flink aan het aanpassen ben, om zo wat meer te leren over de functies.
Hieronder heb ik het actionscript van het mailform geplaatst, hopelijk zien jullie waar ik moet invoeren naar welk e-mail adres de info moet worden gestuurd. Misschien moet k het ook wel ergens anders invoeren, maar helaas kom ik er niet uit.... Alvast bedankt voor jullie hulp!
Dit is het actionscript achter de pagina 'form':
//t1.onSetFocus=function(){if(t1_2=="your name") {t1_2=""} }
t2.onSetFocus = function() {
if (field_1 == "your company:") {
field_1 = "";
}
};
t2.onKillFocus = function() {
if (field_1 == "") {
field_1 = "your company:";
}
};
t4.onSetFocus = function() {
if (your_email == "e-mail:") {
your_email = "";
}
};
t4.onKillFocus = function() {
if (your_email == "") {
your_email = "e-mail:";
}
};
t1.onSetFocus = function() {
if (your_name == "your name:") {
your_name = "";
}
};
t1.onKillFocus = function() {
if (your_name == "") {
your_name = "your name:";
}
};
t3.onSetFocus = function() {
if (field_2 == "telephone:") {
field_2 = "";
}
};
t3.onKillFocus = function() {
if (field_2 == "") {
field_2 = "telephone:";
}
};
t5.onSetFocus = function() {
if (message == "message:") {
message = "";
}
};
t5.onKillFocus = function() {
if (message == "") {
message = "message:";
}
};