That code works straight away.

All you need is

<html>
<head>
<script etc etc>
<script type="text/javascript">
$(document).ready(function(){
      $('#count').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>
</head>
<body>

   <div id="count"></div>

</body>
</html>

On Nov 5, 12:49 am, "ami'n" <[EMAIL PROTECTED]> wrote:
> Is there any workaround for this
>
> i wonder why i'm still unable to make it work?
>
> $(function(){
>         $('#countdown2').countdown({until: '+7D +7H +22M +56S ', format:
> 'yODHMS', layout: '%S%n %l%S, %M%n %l%M, %H%n %l%H, and %D%n %l%D'});
>
> });
>
> there's still an error....
>
> On Oct 29, 5:17 pm, B3 <[EMAIL PROTECTED]> wrote:
>
> > I'm trying to get thecountdownfromhttp://keith-wood.name/countdown.html
> > working but i just dont understand the directions. is you scroll down
> > some to the "Usage" section step 3 is where I get confused.  Could
> > someone explain what the directions mean by "Connect thecountdown
> > functionality to your divs" and also where I put the javascript, what
> > I put on the HTML side?
>
> > The type ofcountdownI'm trying to get to work is the Unordered List
> > which is
> > $('#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>'});
>
> > but just confused where everything goes and how to get it to work.

Reply via email to