Reputation: 43
I am using the jQuery countdown plugin and some how i just can't get it to work. the documentation on the plugin is not that helpful. I got to implement the basic/minimal version but after that I'm catching my tail to figure out the plugin.
I'm trying to create two things:
Upvotes: 0
Views: 1862
Reputation: 5480
I tried the basic countdown and it works.
<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>
Upvotes: 2