Español
<!-- El archivo HTML completo es el siguiente --> <!-- http://bbs.downcodes.com--> <html> <head> <title>Código de efectos especiales de la academia de creación de sitios web-->> Adivina tu signo del zodíaco</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body bgcolor=#FFFFFF> <!------ ----- ---------------------> <lenguaje SCRIPT=JavaScript> <!-- function getpet () { var toyear = 1997; document.frm.inyear .value; var nacimientopet="Ox" x = (toaño - año de nacimiento) % 12 if ((x == 1) || (x == -11)) { nacimientopet="Eres una rata" } else { if (x == 0) { Birthpet="Eres un Buey" } else { if ((x == 11) || (x == -1)) { Birthpet="Eres un Tigre" } else { if ((x == 10) || (x == -2)) { Birthpet="Eres un conejo" } else { if ((x == 9) || (x == -3)) { Birthpet="Eres un dragón" } else { if ((x == 8) || (x == -4)) { Birthpet="Eres una serpiente" } else { if ((x == 7) || (x == -5)) { Birthpet="Eres un caballo" } else { if ((x == 6) || (x == -6)) { Birthpet="Eres una oveja" } else { if ((x == 5) || ( x == -7)) { Birthpet="Eres un mono" } else { if ((x == 4) || (x == -8)) { Birthpet="Eres una gallina" } else { if (( x == 3) || (x == -9)) { Birthpet="Eres un perro" } else { if ((x == 2) || (x == -10)) { Birthpet="Eres un perro" cerdo" } } } } } } } } } } } } document.frm.birth.value = Birthpet; } // --> < /SCRIPT> <FORM nombre=frm> Año de nacimiento: <INPUT nombre=enaño tamaño= 4 valor=1976> <BR><INPUT onclick=getpet() tipo=botón valor=Ver qué es><INPUT nombre=nacimiento tamaño=9></FORM> <!---------- --------------------------> </cuerpo > </html>