From: MISHKA (gmishka@seznam.cz)
Date: 28. 03. 2003, 14:37 CET
<html> <head> <script language="JavaScript"> <!-- var cas1h = 8; //do 8 hodin var cas2h = 14; //do 14 hodin var cas3h = 18; //do 18 hodin var casted = new Date(); var h = casted.getHours(); function setObr(o1,o2,o3){ document.images["cislo1"].src = o1+".gif"; document.images["cislo2"].src = o2+".gif"; document.images["cislo3"].src = o3+".gif"; } function cas(){ if (h >= cas1h) setObr('jo','ne','ne'); if (h >= cas2h) setObr('ne','jo','ne'); if (h >= cas3h) setObr('ne','ne','jo'); } //--> </script> ... </head> <body onload="cas();"> ... <IMG SRC="ne.gif" NAME="cislo1">xxxxxxxxxx <IMG SRC="ne.gif" NAME="cislo2">xxxxxxxxxx <IMG SRC="ne.gif" NAME="cislo3">xxxxxxxxxx ... </body> </html> MISHKA.borec.CZech ______________________________________________________________________ Reklama: Siemens C55 za pouhých 3.577 Kč! http://ad2.seznam.cz/redir.cgi?instance=44773%26url=http://www.oskarmobil.cz
This archive was generated by hypermail 2.1.6 : 28. 03. 2003, 14:43 CET