
Tutaj kod:
<script LANGUAGE="JavaScript"> <!-- function czas(){ now = new Date() var godz = now.getHours(); var min = now.getMinutes(); var sec = now.getSeconds(); document.write("<center><br><br>") if (now.getDay() == 5) document.write("NIE<br><br>Pozostało:<br>" + Math.floor(23 - godz) + " godzin " + Math.floor(59 - min) + " minut " + Math.floor(59 - sec) + " sekund") if (now.getDay() == 6) document.write("<b>TAK!</b>") if (now.getDay() == 0) document.write("<b>TAK!</b>") if (now.getDay() == 1) document.write("<b>NIE</b><br><br>Pozostało:<br>" + Math.floor(119 - godz) + " godzin " + Math.floor(59 - min) + " minut " + Math.floor(59 - sec) + " sekund") if (now.getDay() == 2) document.write("<b>NIE</b><br><br>Pozostało:<br>" + Math.floor(95 - godz) + " godzin " + Math.floor(59 - min) + " minut " + Math.floor(59 - sec) + " sekund") if (now.getDay() == 3) document.write("<b>NIE</b><br><br>Pozostało:<br>" + Math.floor(71 - godz) + " godzin " + Math.floor(59 - min) + " minut " + Math.floor(59 - sec) + " sekund") if (now.getDay() == 4) document.write("<b>NIE</b><br><br>Pozostało:<br>" + Math.floor(47 - godz) + " godzin " + Math.floor(59 - min) + " minut " + Math.floor(59 - sec) + " sekund ") document.write("</center>") setTimeout('czas()',1000); } onload=function(){czas();} //--> </SCRIPT> </body> </html
Mam nadzieje ze ktos mi powie co jest nie tak

Pozdrawiam.