0
我正在使用jQuery countdown plugin以及一些如何讓它無法正常工作。插件上的文檔不是很有用。我必須實現基本/最小化版本,但之後我抓住我的尾巴來找出插件。如何讓jQuery倒計時插件正常工作
我試圖創建兩件事情:
- 的時刻開始經過計數器(正計時)從0HR開始0min 0秒
- 倒計時器(從1小時30分鐘0秒爲例) 0小時0分0秒
我正在使用jQuery countdown plugin以及一些如何讓它無法正常工作。插件上的文檔不是很有用。我必須實現基本/最小化版本,但之後我抓住我的尾巴來找出插件。如何讓jQuery倒計時插件正常工作
我試圖創建兩件事情:
我試過基本的倒計時,它的工作原理。
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
@import "css/jquery.countdown.css";
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.countdown.js"></script>
<script type="text/javascript">
$(function() {
var austDay = new Date();
austDay = new Date(austDay.getFullYear() + 1, 1 - 1, 26);
$('#CountDown').countdown({ until: austDay });
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="CountDown">
</div>
</form>
</body>
</html>
多數民衆贊成基本倒計時我已經嘗試實施這一個,並得到它的工作,當我嘗試做別人,我不能得到它的工作。 – Oudin 2010-10-08 14:46:56