熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> JSP教程 >> 正文

JS節日倒計時效果

2013-11-15 11:40:38  來源: JSP教程 
<Script Language=JavaScript>
   var timedate= new Date(October );
   var times= 年國慶節;
   var now = new Date();
   var date = timedategetTime() nowgetTime();
   var time = Mathfloor(date / ( * * * ));
   if (time >= )
   documentwrite( 現在離+times+還有: +time +)
</Script>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19426.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.