一个显示当前年份以及生肖的js代码
时间:2010-12-23 来源:干烧
var ssyear=new Array("子鼠","丑牛","寅虎","卯兔","辰龙","巳蛇","午马","未羊","申猴","酉鸡","戌狗","亥猪");
document.write(year+"年\n"+ssyear[ssc]);
}
</script>
</head>
<body onLoad="yeart()">
</body>
</html>
相关阅读 更多 +