2010-10-24

倒數計時器


倒數計時器語法




<font color=#色碼 size=字體大小px><script language="javascript">var now=new Date();var spday=new Date(西元年,月份-1,日期);a=(spday.getTime()-now.getTime())/(24*60*60*1000);a=Math.ceil(a); document.write("<b>"+a+"</b>");</script>天</font>

色碼表




沒有留言:

張貼留言