Add the following in the header of your page with the correct
liftoffTime value
    <script type="text/javascript">
        $(function() {
            var liftoffTime = new Date();
            liftoffTime.setDate(liftoffTime.getDate() + 5);
            $('#listLayout').countdown({ until: liftoffTime, format:
'yODHMS',
                layout: '<ul>%Y<li>%n %l</li>%Y%O<li>%n %l</li>%O%D<li>
%n %l</li>%D' +
    '%H<li>%n %l</li>%H%M<li>%n %l</li>%M%S<li>%n %l</li>%S</ul>'
            });
        });
    </script>

Then in your page body add a span like <span id="listLayout"></span>
and your code should work

On Nov 8, 3:30 pm, B3 <[EMAIL PROTECTED]> wrote:
> Can someone just give me some instructions to get this to work??? I
> don't understand how to implement this into my site...  where would I
> put this:
>
> $('#listLayout').countdown({until: liftoffTime, format: 'yODHMS',
>     layout: '<ul>%Y<li>%n %l</li>%Y%O<li>%n %l</li>%O%D<li>%n %l</li>
> %D' +
>     '%H<li>%n %l</li>%H%M<li>%n %l</li>%M%S<li>%n %l</li>%S</ul>'});
>
> ??? The countdown.js and jquery.js are loading but I don't get it...
> and also what would I put in the html side? I got this from 
> herehttp://keith-wood.name/countdown.html#listLayout
>
> thanks

Reply via email to