标题: 高考倒计时代码如何自动切换
时间: 2015-08-07
<div class="collegeEntrance">
<Script Language="JavaScript">
<!-- Begin
var timedate= new Date("June 07,2015");
var times="高考";
var now = new Date();
var date = timedate.getTime() - now.getTime();
var time = Math.floor(date / (1000 * 60 * 60 * 24));
if (time >= 0) ;
document.write("<b>★</b>距离2015年"+times+"还有: <strong>"+time +"</strong> 天");
// End -->
</Script><span class="gaokao">倒计</span>
</div>
就改这段。『回复列表(8|隐藏机器人聊天)』
<div class="collegeEntrance">
<Script Language="JavaScript">
<!-- Begin
var timedate= new Date("June 07,2015");
var times="高考";
var now = new Date();
var date = timedate.getTime() - now.getTime();
var time = Math.floor(date / (1000 * 60 * 60 * 24));
if (time >= 0) ;
document.write("<b>★</b>距离2015年"+times+"还有: <strong>"+time +"</strong> 天");
// End -->
</Script><span class="gaokao">倒计</span>
</div>
帮忙改下