He intentado utilizar la página:
http://formtoemail.com/en mi sección de contacto:
http://205.205.200.231/~h806209/Pero no funciona.
Creo que el primer eslabón se supone que es para los sitios web regulares y no flash sitios animados. ¿Hay alguna manera para que funcione?
Heres lo que dice en la forma:
var totFields = 8;
var _this = this;
var clearFields = function ()
{
for (i = 1; i <= totFields; i++)
{
var _loc1 = _this["txt" + i];
_loc1.text = _loc1.startText;
} // end of for
};
for (i = 1; i <= totFields; i++)
{
var fieldName = this["txt" + i];
fieldName.tabIndex = i;
fieldName.startText = fieldName.text;
fieldName.onSetFocus = function ()
{
if (this.text == this.startText)
{
this.text = "";
} // end if
};
fieldName.onKillFocus = function ()
{
if (this.text == "")
{
this.text = this.startText;
} // end if
};
} // end of for
_clear.onRelease = function ()
{
clearFields();
};
_submit.onRelease = function ()
{
if (txt1.text == txt1.startText || txt2.text == txt2.startText || txt3.text == txt3.startText || txt4.text == txt4.startText || txt5.text == txt5.startText || txt6.text == txt6.startText || txt7.text == txt7.startText || txt8.text == txt8.startText)
{
clearFields();
gotoAndStop(3);
}
else
{
_this.loadVariables("FormToEmail.php", "POST");
clearFields();
gotoAndStop(2);
} // end else if
};
stop ();
- var totFields = 8;
- var _this = this;
- var clearFields = function ()
- {
- for (i = 1; i <= totFields; i++)
- {
- var _loc1 = _this["txt" + i];
- _loc1.text = _loc1.startText;
- } // end of for
- };
- for (i = 1; i <= totFields; i++)
- {
- var fieldName = this["txt" + i];
- fieldName.tabIndex = i;
- fieldName.startText = fieldName.text;
- fieldName.onSetFocus = function ()
- {
- if (this.text == this.startText)
- {
- this.text = "";
- } // end if
- };
- fieldName.onKillFocus = function ()
- {
- if (this.text == "")
- {
- this.text = this.startText;
- } // end if
- };
- } // end of for
- _clear.onRelease = function ()
- {
- clearFields();
- };
- _submit.onRelease = function ()
- {
- if (txt1.text == txt1.startText || txt2.text == txt2.startText || txt3.text == txt3.startText || txt4.text == txt4.startText || txt5.text == txt5.startText || txt6.text == txt6.startText || txt7.text == txt7.startText || txt8.text == txt8.startText)
- {
- clearFields();
- gotoAndStop(3);
- }
- else
- {
- _this.loadVariables("FormToEmail.php", "POST");
- clearFields();
- gotoAndStop(2);
- } // end else if
- };
- stop ();