Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <div style="width: 1051px; float: left;">
- <div style="float: left; width: 150px;">
- <div id="imCell_163" class="imGrid[4, 4]"><div id="imCellStyleGraphics_163"></div><div id="imCellStyle_163"> <div class="text-tab-content" id="imTextObject_163_tab0" style="text-align: left;">
- <div class="text-inner">
- <p style="text-align: right;"><span class="ff1 cf3 fs24"><b>Il vous reste :</b></span><span class="ff2 fs20"><br></span></p>
- </div>
- </div>
- </div></div>
- </div>
- <div style="float: left; width: 533px;">
- <div id="imCell_162" class="imGrid[4, 4]"><div id="imCellStyleGraphics_162"></div><div id="imCellStyle_162"><div id="imHTMLObject_162" class="imHTMLObject" style="height: 55px; overflow: auto; text-align: left;">
- <script language="JavaScript">
- function decompte(cpt,H,s,clr1,clr2){
- cpt = document.getElementById(cpt);
- var Now = new Date();
- if (H>=Now)
- {
- dif = Math.abs(H-Now);
- var day = Math.floor(dif / 86400000);
- dif = Math.floor(dif-(day*86400000));
- var hour = Math.floor(dif / 3600000);
- dif = Math.floor(dif-(hour*3600000));
- var min = Math.floor(dif / 60000);
- dif = Math.floor(dif-(min*60000));
- var sec = Math.floor(dif/1000);
- var prefDay='';
- if (day<0) {prefDay = '00000'}
- else
- {if (day<10000)
- {if (day<1000)
- {if (day<100)
- {if (day<10)
- {prefDay = '0000';}
- else {prefDay = '000';}
- }
- else {prefDay = '00';}
- }
- else {prefDay = '0';}
- }
- }
- if (hour<10) {hour = '0' + hour;}
- if (min<10) {min = '0' + min;}
- if (sec<10) {sec = '0' + sec;}
- if (s==0)
- {cpt.innerHTML= '<font style="color:'+clr1+';">' + day + '</font> <font style="color:'+clr2+';">Jours</font> <font style="color:'+clr1+';">' + hour + '</font> <font style="color:'+clr2+';">Heures</font> <font style="color:'+clr1+';">' + min + '</font> <font style="color:'+clr2+';">Minutes</font> <font style="color:'+clr1+';">' + sec + '</font> <font style="color:'+clr2+';">Secondes</font>';}
- else
- {
- if (s==1)
- {cpt.innerHTML= '<font style="color:'+clr1+';">' + day + '</font><font style="color:'+clr2+';">j</font> <font style="color:'+clr1+';">' + hour + '</font><font style="color:'+clr2+';">h</font> <font style="color:'+clr1+';">' + min + '</font><font style="color:'+clr2+';">m</font> <font style="color:'+clr1+';">' + sec + '</font><font style="color:'+clr2+';">s</font>';}
- else
- {cpt.innerHTML= '<font style="color:white;">' + prefDay + '</font>' + day + ' ' + hour + ' ' + min + ' ' + sec ;}
- }
- }
- else
- {
- if (s!=2)
- {cpt.innerHTML='<font style="font-size:17px;color:'+clr2+';">Compte à rebours terminé</font>';}
- else
- {cpt.innerHTML=' <font style="font-size:22px;">Compte à rebours terminé</font>';}
- }
- repeat=setTimeout("decompte('" + cpt.id + "'," + H + ", " + s + ", '" + clr1 + "', '" + clr2 + "')",1000)
- }
- </script>
- <div style="width:468;height:50px;text-align:left;""><div style="margin:0px;margin-left:5px;"><div id="divCptDecompteNet0" style="font-size:18px;font-family: verdana;color:black;"><font style="color:#FFBF00;">11</font> <font style="color:#3ADF00;">Jours</font> <font style="color:#FFBF00;">21</font> <font style="color:#3ADF00;">Heures</font> <font style="color:#FFBF00;">04</font> <font style="color:#3ADF00;">Minutes</font> <font style="color:#FFBF00;">44</font> <font style="color:#3ADF00;">Secondes</font></div><script>decompte('divCptDecompteNet0',1420066800000,0,'#FFBF00','#3ADF00')</script></div><div style="color:#4065BB;font-family: verdana;font-size:10px;text-align:left;"><a style="color:#4065BB;font-family: verdana;font-size:10px;text-decoration:none;"></a></div></div>
- </div></div></div>
- </div>
- <div style="float: left; width: 268px;">
- <div id="imCell_164" class="imGrid[4, 4]"><div id="imCellStyleGraphics_164"></div><div id="imCellStyle_164"> <div class="text-tab-content" id="imTextObject_164_tab0" style="text-align: left;">
- <div class="text-inner">
- <p style="text-align: left;"><span class="ff1 cf3 fs24"><b>avant de fêter le nouvel an !</b></span><span class="ff0 fs20"><br></span></p>
- </div>
- </div>
- </div></div>
- </div>
- </div>
- </head>
- <body>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement