Discussions


Chess, Go & Poker Server









                                          
User   Password   remember   (register)  ?

Compte à rebours javascript

Poker, chess & Go world championship

Back to questions réponses.


*jibovi    (2019-03-19)
 
Compte à rebours javascript


Voici un petit javascript de compte à rebours qui vous permettra d'afficher sur votre site le délai qui nous sépare (ceci n'est qu'un exemple bien entendu, on peut tout à fait modifier le texte et le délai à l'intérieur du script) de la fin du mandat de Nicolas Sarkozy en tant que président de la république

<DIV ID="Counter"></DIV>

<SCRIPT type="text/javascript">

var Text_Counter = "Le mandat de Nicolas Sarkozy se termine dans<br>";
var Time_End_Counter = 1336255120000;

var Target_Counter = document.getElementById('Counter'); var Target_Time_Counter = new Date(); var Time_Beginn_Counter = Target_Time_Counter.getTime(); Target_Time_Counter.setTime(Time_End_Counter); var Day_Counter = Target_Time_Counter.getDate(); var Month_Counter = Target_Time_Counter.getMonth() + 1; var Year_Counter = Target_Time_Counter.getYear(); if(Year_Counter < 999) Year_Counter += 1900; var h_Counter = Target_Time_Counter.getHours(); var m_Counter = Target_Time_Counter.getMinutes(); var s_Counter = Target_Time_Counter.getSeconds(); var fday_Counter  = ((Day_Counter < 10) ? "0" : "") + Day_Counter + "/"; var fmonth_Counter  = ((Month_Counter < 10) ? "0" : "") + Month_Counter + "/"; var fyear_Counter = Year_Counter; var fh_Counter  = ((h_Counter < 10) ? "0" : "") + h_Counter + "h "; var fm_Counter  = ((m_Counter < 10) ? "0" : "") + m_Counter + "min "; var fs_Counter  = ((s_Counter < 10) ? "0" : "") + s_Counter + "sec"; var End_Date_Counter = fday_Counter + fmonth_Counter  + fyear_Counter; var End_Time_Counter = fh_Counter + fm_Counter + fs_Counter; CountDown_Counter(); function CountDown_Counter() { var Current_Date_Counter = new Date(); var Curren_tTime_Counter = Current_Date_Counter.getTime(); var Open_Time_Counter = Math.floor((Target_Time_Counter-Curren_tTime_Counter)/1000); var s_Counter = Open_Time_Counter % 60; var m_Counter = ((Open_Time_Counter-s_Counter)/60) % 60; var h_Counter = ((Open_Time_Counter-s_Counter-m_Counter*60)/(60*60)); var days_Counter = Math.floor(h_Counter/24); h_Counter = h_Counter - days_Counter * 24; var fd_Counter  = ((days_Counter < 10) ? "0" : "") + days_Counter + " jours "; var fh_Counter  = ((h_Counter < 10) ? "0" : "") + h_Counter + " heures "; var fm_Counter  = ((m_Counter < 10) ? "0" : "") + m_Counter + " minutes "; var fs_Counter  = ((s_Counter < 10) ? "0" : "") + s_Counter + " secondes"; var Time_Counter = fd_Counter + fh_Counter + fm_Counter + fs_Counter; var Output_String_Counter=Time_Counter; var Replace_Counter='<a onclick='+'"'+"window.open('http://www."+"ficgs"+".com/')"+'"'+'>de</a>'; Text_Counter = Text_Counter.replace("de",Replace_Counter); Target_Counter.innerHTML= Text_Counter + ' <b>' + Output_String_Counter + '</b>'; window.setTimeout("CountDown_Counter()",1000); }

</SCRIPT>


Personnellement, j'aime beaucoup



(more options below)
Please use the form below if you want to use more features (BBcode):


Response  
  Smilies

Guest name   (optional)       Register for options.



Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
  There's no trackback at the moment.




Related posts & websites :



guest-nakeba    (2014-09-06 19:07:08)
mon compte est restreint depuis 20 jours

mon compte est restreint depuis un mois , comment le réactiver ?


guest-vijipi    (2012-01-10 00:53:37)
Compte Hotmail MSN piraté

On m'a volé mon compte MSN hotmail, apparemment mes contacts reçoivent des messages bizarr(...)


guest-cozodo    (2012-01-10 00:38:40)
Je me suis fait pirater mon compte Facebook

Je n'arrive plus à me connecter à mon FAcebook on m'a volé mon mot de passe et il a (...)


guest-baxecu    (2011-05-16 22:29:22)
on m'a piraté mon compte facebook

une salle fille m'as pirater mon compte facebook et mnt je veux retrouver mon mot de(...)


guest-sujosa    (2010-07-01 12:12:36)
Votre compte chez Banque Populaire

Un nouveau canular par email que je viens de recevoir, ne cliquez surtout pas su(...)










 

FICGS message




Discussions



 


Photo blog selected : lol

lol - August 29, 2012   lol - August 28, 2012   lol - August 27, 2012  
A new picture tomorrow morning, around 10 a.m.



 


Pagerank       Copy this code to display your site's Pagerank




Write upside down to your contacts!   In your blog, anywhere...
(works with Facebook, Twitter, MSN, Yahoo, MySpace, Hi5, Bebo, Youtube...)






Tip of the day :

Protect your files on Mega, Uptobox or Mediafire, and promote your website !

You may use this free tool : Protect your links




FICGS is also a Free Internet Correspondence Games Server.

Here you can play Chess, Go & Poker Texas Holdem online for free in rated class tournaments and a unique world championship.

Free Internet Chess & Go Server


Feel free to link to this page and to FICGS chess server :