Hi,

I'm messing with http://keith-wood.name/countdown.html I must say it's
a very nice script and heads up to anyone who can get it to work.

I'm trying to get the basic script to run and countdown for 2 days
like in the relative example

Here's the last piece of code which is way out, any help appreciated:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery Countdown</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.countdown.js"></script>
<script type="text/javascript">
$(function () {
        var new Date = new Date(2010, 1 - 1, 1);
        $('#until2d').countdown({until: '+2d'});
});
</script>
<style type="text/css">
@import "jquery.countdown.css";
#countdown { width: 240px; height: 45px; }
</style>
</head>
<body>
<h1>jQuery Countdown Basics</h1>
<p>This page</p>
<p>Counting down to 26 January <span id="year">2010</span>.</p>
<div id="countdown"></div>
</body>
</html>

Reply via email to