Questions tagged [countdown]

This tag refers to the process of counting down. In other words, the act of taking an initial value and then consistently subtracting a smaller value from it until the original value reaches a specified amount (usually 0).

Use this tag for questions that deal with counting down or countdown timers (a device that performs the countdown).

2279 questions
0
votes
1 answer

Countdown timer helppp

I made a puzzle game in java Applet, and I need to add a timer that runs for 5 minutes where the player has to solve the puzzle within this time, if not a dialog box will appear asking to retry, so then I need the timer to start again. Can someone…
Rafa
  • 1
  • 1
0
votes
1 answer

Java swing countdown timer not working properly

I would like to make a program that shuts down the computer after specific time, but I have troubles making the timer countdown. It must decrement the time in the spinners from which it takes it. I tried to make a dynamic dialog application but it…
Nikolay Tashev
  • 105
  • 1
  • 1
  • 6
0
votes
1 answer

Why is the jQuery countdown not working with the documented code?

I am using this jQuery countdown plugin here and it seems pretty straightforward but i must be missing something. Here is my code $(document).ready(function(){ var austDay = new Date(); console.log(austDay.getFullYear() + 1); austDay =…
Matt Elhotiby
  • 43,028
  • 85
  • 218
  • 321
0
votes
1 answer

How to create a timer that starts at 10 and goes to 1 in 3 seconds?

I am a web designer, and I am not much of a developer. I need to create a timer that counts down quickly from 10 to 1 when a user scrolls to the part of the page where that div appears. I'm planning on using a large bold font with nothing but "10"…
Clare12345
  • 181
  • 3
  • 14
0
votes
1 answer

Daily countdown timer - Display Message at 21:57

I'm struggling to figure out how Date() works, I found this on the web and wanted to make a countdown that stops at 21:57 UTC Time. It currently displays the message at 21:00 and apears until 22:00. I tried to add if(currenthours != 21 &&…
Octavian Lojnita
  • 339
  • 4
  • 15
0
votes
1 answer

How can I make sure the timer is set to half 4 every day, so I don't have to mention a certain date in Javascript?

How can I make sure the timer is set to half 4 every day, so I don't have to mention a certain date in Javascript? Also how is it possible to display the output in a div or p instead of form.
0
votes
0 answers

Count down values of key in Javascript

As said in the title, I need to add the values of my keys. Here is what I'm doing : var repeat=ListeInterv[interv].week_data[numsemaine][intensit]; for (var i=0;i
Benoît
  • 143
  • 1
  • 2
  • 15
0
votes
0 answers

Custom Countdown jQuery with data attributes

I have been trying to create a smallest jquery for displaying Countdown. I tried using other snippets like keith-wood script But problem is that it has a huge jquery. I want to create a variables in the jquery which call be pulled through data…
Maqk
  • 515
  • 9
  • 26
0
votes
2 answers

Countdown timer every hour but on 30 minute marks

I need a simple countdown timer, but it is really bugging me that I can't seem to get it for some reason, and I think it's because of the special way I need it done, it has to adhere to these rules: Must be every hour Must be on the 30 minute…
WittyPleb
  • 553
  • 2
  • 10
  • 22
0
votes
2 answers

JS: UI countown for setTimeout function

I have a page that runs reloadData() function every 5 seconds: setTimeout('reloadData()', 5000); I have an element that I'd like to update with a countdown from 5 to 0 for every second of the…
heyitsmyusername
  • 631
  • 1
  • 8
  • 21
0
votes
2 answers

Recursive countdown timer

I'm trying to create a javascript counter that starts at 25 minutes and ends at 0. the idea is to show the minutes/seconds as a countdown clock on the page (my target div is called 'txt'). But I'm not getting my desired result - the timer does not…
vaspv
  • 25
  • 6
0
votes
1 answer

JavaScript - Store countdown for when page reloads etc

So here I have created a countdown timer of 10 minutes to initiate upon the press of the 'START' button. I want to store this countdown so that when the user goes of the page and comes back to it the countdown will still be going. Note that I do NOT…
mellows
  • 303
  • 1
  • 7
  • 27
0
votes
1 answer

Rails - Background job (countdown)

i did countdown for time remaining in ruby. But can't figured out how to run it in background, because when i run it in controller or helper it's starting before the view is loaded, so the countdown have to be finished then the view is loaded. So i…
liborza
  • 969
  • 1
  • 7
  • 28
0
votes
2 answers

JavaScript - Disable click function for duration of countdown

So I've got a basic countdown timer counting down from 5 minutes initiated by a click event ('START CLOCK'). I would like to disable this function once the countdown has started until the countdown has finished. Any…
mellows
  • 303
  • 1
  • 7
  • 27
0
votes
1 answer

1-2 seconds delay in NStimer countdown

after looking online for a countDown implementation in swift 2, i couldn't find anyones that works in a countdown way. so i made my own however when it reaches second 01 it takes 2 seconds to become 59. for instance if the timer is on 05:01 it takes…
1 2 3
99
100