objectivehtml / FlipClock

http://flipclockjs.com/
MIT License
2.74k stars 954 forks source link

Pausing the countdown timer [Help] #83

Closed pralhadstha closed 10 years ago

pralhadstha commented 10 years ago

How are we supposed to pause the countdown or normal timer in flipclock. As i am a beginner to javascript and jquery. Can anyone help me out there. Thanks

objectivehtml commented 10 years ago

It's in the basic usage of the docs. It's pretty simple. Just call your selector, which instantiates the clock object. Then call the stop method. Obviously you can use any parameters you want to instantiate the clock.

var clock = $('.clock').FlipClock();
clock.stop();
pralhadstha commented 10 years ago

The countdown timer have issue on chrome. The countdown timer is working fine as it stops when focusedout on firefox but doesnot stops on chrome.Is there anything for fixing this?

objectivehtml commented 10 years ago

These are browser issues from what I can tell. There are similar glitches in Crome and Safari. Not really sure what do about this. Closing it for now until someone posts a fix (if there is one).