ROK 2000

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

061
p061.html / p061.zip
Vypocitava kolko casu zozstava do roku 2000
1253b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<HTML> <HEAD> <TITLE> JavaScript DESTINATION - P061 </TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- var timerID = null; var timerRunning = false; function showtime() { now = new Date(); var CurHour = now.getHours(); var CurMinute = now.getMinutes(); var CurMonth = now.getMonth(); var CurDate = now.getDate(); var CurYear = now.getYear(); var CurSecond = now.getSeconds(); now = null; Hourleft = 23 - CurHour Minuteleft = 59 - CurMinute Secondleft = 59 - CurSecond var Yearleft = 99 - CurYear var Monthleft = 11 - CurMonth var Dateleft = 31 - CurDate Temp3=' '+Yearleft+' rokov, '+Monthleft+' mesiacov, '+Dateleft+' dni, '+Hourleft+' hodin, '+Minuteleft+' minut, '+Secondleft+' sekund' document.frm.left.value=Temp3; timerID = setTimeout("showtime()",1000); timerRunning = true; } var timerID = null; var timerRunning = false; function stopclock () { if(timerRunning) clearTimeout(timerID); timerRunning = false; } function stopClock() { stopclock(); return; } function startclock () { stopclock(); showtime(); } // --> </script> </HEAD> <BODY> <BODY onLoad="startclock()"> <FORM NAME="frm"> <INPUT TYPE="textarea" NAME="left" SIZE=70 VALUE="Java"> </FORM> </BODY> </HTML>
[ Navrat / BACK ]