How to set date for countdown timer?

5 replies
Hi Warriors,

I am using this countdown timer script...seen here:

https://github.com/sonnyt/downCount

I have put the date / time info on the custom.css file...no go.

Its being used on this site:
Top Jimmy Construction - Web Site Coming Soon!

Thanks in advance for help on this!

Bret
#countdown #date #set #timer
  • Profile picture of the author wordpress+expert
    Hi. You need to insert code in html file. Sample code:

    Code:
        
    <script class="source" type="text/javascript">
            $('.countdown').downCount({
                date: '24/09/2014 12:00:00',
                offset: +10
            });
        </script>
    Or insert code in custom js file. Sample code:


    Code:
        
    (function ($) {
            $('.countdown').downCount({
                date: '24/09/2014 12:00:00',
                offset: +10
            });
    })(jQuery);
    {{ DiscussionBoard.errors[10293459].message }}

Trending Topics