球探篮球比分手机:猜你的屬相網頁代碼

篮球比分网雷速体育 www.kjdpo.com.cn 演示效果:

全部代碼

<html>
<head>
<title>猜你的屬相</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body   bgcolor=#FFFFFF  >
<!-------------------------------->
<SCRIPT language=JavaScript>
<!--
function getpet () {
 
        var toyear = 1997;
        var birthyear = document.frm.inyear.value;
        var birthpet="Ox"
 
        x = (toyear - birthyear) % 12
        if ((x == 1) || (x == -11)) {
            birthpet="您屬老鼠"      }
            else  {
             if (x == 0)             {
             birthpet="您屬牛"           }
             else  {
              if ((x == 11) || (x == -1)) {
              birthpet="您屬老虎"          }
              else  {
               if ((x == 10) || (x == -2)) {
               birthpet="您屬兔子"         }
               else  {
                if ((x == 9) || (x == -3))  {
                birthpet="您屬龍"         }
                else  {
                 if ((x == 8) || (x == -4))  { 
                 birthpet="您屬蛇"      }
                 else  {
                  if ((x == 7) || (x == -5))  { 
                  birthpet="您屬馬"      }
                  else  {
                   if ((x == 6) || (x == -6))  { 
                   birthpet="您屬羊"      }
                   else  {
                    if ((x == 5) || (x == -7))  {  
                    birthpet="您屬猴"     }
                    else  {
                     if ((x == 4) || (x == -8))  {
                     birthpet="您屬雞"    }
                     else  {
                      if ((x == 3) || (x == -9))  {
                      birthpet="您屬狗"        }
                      else  {
                       if ((x == 2) || (x == -10))  {
                       birthpet="您屬豬"         }  
                      }
                     }
                    }
                   }
                  }
                 }
                }
               }
              }
             }
            }
        document.frm.birth.value = birthpet;
 
}
// -->
</SCRIPT>
<FORM name=frm>
出生年份:<INPUT name=inyear size=4 value=1975> <BR><INPUT onclick=getpet() type=button value=看看屬什么><INPUT name=birth size=9></FORM>

<!---------------------------------->
</body>
</html>

 



{ganrao} 指数竞彩比分 青海十一选五今天开 配资炒股是不是不用自己的账号 支持快播的a片网站 麻将有多少种玩法 东京热 色中色 山东十一选五任二遗 股票配资排名官网 nba掘金vs热火 广东十一选五*软件 上证指数是什么意思 新浪竞彩足球比分推荐 排列三怎么玩才赚 体球网即时比分 美女麻将psp 96年公牛vs步行者