Countdown Timer
+4
Nera.
Sanket
shppero
Amel Nuhanovic
8 posters
Page 1 of 1
Countdown Timer
Like how topic title say i want create some custom Countdown Timer who will be automatic restarted every 4 hours. Its about some online game what i play and friends. There is war time every 4 hours started from at this time 01.00 05.00 10.00 14.00 18.00 22.00 Ok i know somewhere there where i start to create that i need to put there real time, from where all that start to work but all what i find at google its not about that, always there is showed years, month, days....and all. I need only hours, min. and second there what start from 04.00.00 countdown to 00.00.00 and again automatic start. In official page about this game you can see what i mean, there is that little green countdown timer called NEXT NATION WAR what i want in mine forum, here is link http://www.cabalonline.com/index.asp. Please help me with this...i show you in pictures how i imagine that...THANKS
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
Why don't you google for a countdown timer, there are many sites which will provide you with the code.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Countdown Timer
I know this is stupid question and you listen this each day, again and again...but can you reply me some link about that PLEASE
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
Nera respect for help like always, but its not that, i have tons links like that, its just not ok how i want---Jan try to create me perfect Countdown Timer, he tell me its something about jQuery & Javascript. Problem what confuse you about that timer maybe this is...That counter need to Countdown 04.00 hour and when he finish need to automatic again start, but important time for Countdown Timer is this...
01.00
05.00
10.00
14.00
18.00
22.00
At that time War start at game, about what is this all...
Now you know what i mean???
01.00
05.00
10.00
14.00
18.00
22.00
At that time War start at game, about what is this all...
Now you know what i mean???
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
bump
Its like guys you need to take medic each 4 hours, and you want to create Countdown Timer for that. Time for your medic is:
01.00 am
05.00 am
09.00 am
13.00 pm
17.00 pm
21.00 pm
Ok this timer need to start again automatic when he normal show you first time at 01.00 am and need to start to count to 05.00 am. This i want maybe i dont post right what i mean i try now to explain like with medication hahahaha, buddy tell me this is something about jQuery & Javascript, i hardly work with css I have no idea of this...Now i think you know what i mean and i wait some smart head...
Its like guys you need to take medic each 4 hours, and you want to create Countdown Timer for that. Time for your medic is:
01.00 am
05.00 am
09.00 am
13.00 pm
17.00 pm
21.00 pm
Ok this timer need to start again automatic when he normal show you first time at 01.00 am and need to start to count to 05.00 am. This i want maybe i dont post right what i mean i try now to explain like with medication hahahaha, buddy tell me this is something about jQuery & Javascript, i hardly work with css I have no idea of this...Now i think you know what i mean and i wait some smart head...
Last edited by Amel Nuhanovic on Sat 18 Jun - 8:45; edited 1 time in total
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
you do know that your times aren't 4 hours apart...
5:00 - 10:00 = 5 hours...
5:00 - 10:00 = 5 hours...
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Countdown Timer
hahahahah i make wrong sorry but again you know what i mean...right???
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
Anyone?????
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
What i remove that timer?? Nou i dont make, because you see, no one dont know how to make that, i think its easy for someone, for me its to hard, if anyone know how to make this please PM or anything, this is really important for me and other guys at forum. Each day i watch here and wait for reply )))))
Amel Nuhanovic- Forumember
- Posts : 152
Reputation : 1
Language : Bosnian
Location : Bosnia and Herzegovina
Re: Countdown Timer
- Code:
<script type = "text/javascript">
var timeInSecs;
var ticker;
function startTimer(secs) {
timeInSecs = parseInt(secs);
ticker = setInterval("tick()", 1000);
}
function tick( ) {
var secs = timeInSecs;
if (secs > 0) {
timeInSecs--;
}
else {
clearInterval(ticker);
startTimer(14400); // start again
}
var hours= Math.floor(secs/3600);
secs %= 3600;
var mins = Math.floor(secs/60);
secs %= 60;
var pretty = ( (hours < 10 ) ? "0" : "" ) + hours + ":" + ( (mins < 10) ? "0" : "" ) + mins + ":" + ( (secs < 10) ? "0" : "" ) + secs;
document.getElementById("countdown").innerHTML = pretty;
}
startTimer(14400); // 4 hours in seconds
</script>
<span id="countdown" style="font-weight: bold;"></span>
Enjoy
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Similar topics
» Countdown timer
» Countdown timer problem
» Js countdown timer
» countdown timer
» Countdown timer avatar
» Countdown timer problem
» Js countdown timer
» countdown timer
» Countdown timer avatar
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum