Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6135693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:30:36+00:00 2026-05-23T17:30:36+00:00

I am using jqClock as a plugin to show time in my web application,

  • 0

I am using jqClock as a plugin to show time in my web application, and keith wood countdown to show the remaining time. My question is if some of you had a problem with them not being synced? Like for example if the time is 15:40:00 and the countdown should count down until 15:41:00 (so basically it should count down 1 minute). Then for example my jqclock shows 15:40:30 and countdown shows 31 (instead of 30 – and this is ugly to see on screen cause I want the timers to change their values simultaneously). Any help would really be godsend as I’ve spent ages on this 🙁

edit: The more I think about this I think it would be better to remove the jqClock plugin and update the clock manually in the onTick event of the keith plugin.. But would really like to hear thoughts of people who may have had the same problem…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:30:37+00:00Added an answer on May 23, 2026 at 5:30 pm

    Disclaimer: i never used jqClock or keith plugin.

    Depending on how the conting is done, the js timers may drift. The internal js setTimeout function is not guaranteed to sleep the the exact amount of time specified. The smallest time it can sleep depends on the operating system+browser(and possibly on the client hardware, as really old systems didn’t have hpets, or cpu counters).
    The function should be regarded more as “sleep at least this amount of time, then execute my handler”. For example, a setTimeout(2000) will end up sleeping 10seconds if the system is busy, instead of 2 seconds.
    Now, if the 2 plugins use different timers and handling techniques they will surely drift away…

    As you said, i’d a better ideea to use a single “heartbeat” and sync all stuff from that one source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jquery clock to demonstrate time in my application. In this application,there are
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
Using JDeveloper , I started developing a set of web pages for a project
Using the http://www.ifans.com/forums/showthread.php?t=132024 post from another question i am allowing the user to enter
using VB.Net2010 I need to call a C# DLL The problem I have is
Using Java, how can I extract all the links from a given web page?
Using mercurial, I've run into an odd problem where a line from one committer
Using Android TelephonyManager an application can obtain the state of data activity over the
Using Ivy with this Ant target: <target name=retrieve-jars> <ivy:retrieve pattern=WebContent/WEB-INF/lib/[artifact].[ext] /> </target> to fetch
Using Bootstrap's typeahead javascript plugin, I'm attempting to change the data-source attribute via jQuery's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.