POZDRAV

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

 

071
p071.html / p071.zip
V zavislosti od casu zobrazi pozdrav
1151b
NN 4.04

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P071 </title> </head> <body> <script language="JavaScript"> <!-- today = new Date() if(today.getMinutes() < 10){ pad = "0"} else pad = ""; document.write ;if((today.getHours() <=6) && (today.getHours() >=9)){ document.write("<center><FONT SIZE=4 color=blue>Dobre rano</FONT></center>") } if((today.getHours() >=10) && (today.getHours() <=11)){ document.write("<center><FONT SIZE=4 color=green>Dobre rano! </FONT></center>") } if((today.getHours() >=12) && (today.getHours() <=16)){ document.write("<center><FONT SIZE=4 color=black>Dobre popoludnie</FONT></center>") } if((today.getHours() >=17) && (today.getHours() <=23)){ document.write("<center><FONT SIZE=4 color=red>Dobry vecer!</FONT></center>") } if((today.getHours() >=0) && (today.getHours() <=4)){ document.write("<center><FONT SIZE=4 color=red>Do noci surfujes !</FONT></center>") } if((today.getHours() >=4) && (today.getHours() <=6)){ document.write("<center><FONT SIZE=4 color=purple>Wow! Ranny vtacik!!</FONT></center>") } // --> </script> </body> </html>
[ Navrat / BACK ]