Compte a rebour pour site web
Fermé
jean-did
Messages postés
44
Date d'inscription
mardi 26 août 2008
Statut
Membre
Dernière intervention
10 avril 2009
-
25 oct. 2008 à 15:09
slow Messages postés 370 Date d'inscription mardi 14 janvier 2003 Statut Membre Dernière intervention 11 septembre 2009 - 25 oct. 2008 à 16:25
slow Messages postés 370 Date d'inscription mardi 14 janvier 2003 Statut Membre Dernière intervention 11 septembre 2009 - 25 oct. 2008 à 16:25
A voir également:
- Compte a rebour pour site web
- Supprimer compte instagram - Guide
- Compte facebook piraté - Guide
- Site de telechargement - Guide
- Créer un compte gmail - Guide
- Créer un compte google - Guide
1 réponse
slow
Messages postés
370
Date d'inscription
mardi 14 janvier 2003
Statut
Membre
Dernière intervention
11 septembre 2009
57
25 oct. 2008 à 16:25
25 oct. 2008 à 16:25
Bonjour,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>COMPTE A REBOURS </title> <script LANGUAGE="JavaScript"> <!-- function getTime() { now = new Date(); y2k = new Date("Oct 31 2009 15:00:00"); //ICI LA DATE CIBLE days = (y2k - now) / 1000 / 60 / 60 / 24; daysRound = Math.floor(days); hours = (y2k - now) / 1000 / 60 / 60 - (24 * daysRound); hoursRound = Math.floor(hours); minutes = (y2k - now) / 1000 /60 - (24 * 60 * daysRound) - (60 * hoursRound); minutesRound = Math.floor(minutes); seconds = (y2k - now) / 1000 - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound) - (60 * minutesRound); secondsRound = Math.round(seconds); sec = (secondsRound == 1) ? " seconde" : " secondes"; min = (minutesRound == 1) ? " minute" : " minutes, "; hr = (hoursRound == 1) ? " heure" : " heures, "; dy = (daysRound == 8) ? " jour" : " jours, " document.timeForm.input1.value = "Encore " + daysRound + dy + hoursRound + hr + minutesRound + min + secondsRound + sec + " avant le 31 Octobre 2009 15 H 00 !"; newtime = window.setTimeout("getTime();", 1000); } // --> </script> </head> <body onLoad="getTime()"> <form name=timeForm> <input type="texte" name=input1 size=110 border-style="none" style="border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid;font:12px arial, helvetica,sans-serif"> </form> </body> </html>