Countdown Timer that doesn't reset when you refresh the page?

后端 未结 3 988
星月不相逢
星月不相逢 2020-12-30 16:47

I Need to have a code for the timer that doesn\'t reset the countdown timer even you refresh the page.

I saw sample code at keith wood plug in, but

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-30 17:07

    1. Include the jQuery library in the head section of your page.
    2. Download and include the jQuery Countdown CSS and JavaScript in the head section of your page. Alternately, you can use the minimised version jquery.countdown.min.js (13.5K vs 31.4K, 4.4K when zipped).
    3. Connect the countdown functionality to your divs.

    So, your final code will be:

    
    
        jQuery Countdown
        
        
        
        
    
    
    

    jQuery Countdown Basics

    Counting down to 20 November 2012.

    Hope this helps!

提交回复
热议问题