ëîãîòèï
Principala » fisiere » Scripturi uCoz

Căciuliţa se schimba pe perioada zilei
2010-05-04, 6:34 PM
Code
<script type="text/javascript">  <BR>  function shapka(n)  <BR>  {document.write('<img border="0" src="/logo/'+n+'.gif">');}  <BR>  var h=(new Date()).getHours();  <BR>  if (h > 23 || h <7) shapka('1');  <BR>  if (h > 6 && h < 12) shapka('2');  <BR>  if (h > 11 && h < 19) shapka('3');  <BR>  if (h > 18 && h < 24) shapka('4');  <BR>  </script>
Categorie: Scripturi uCoz | Adaugat de: djnutzu
Vizualizari: 342 | Downloads: 0 | Comentarii: 3 | Raging: 0.0/0
Total comentarii : 0
Prenume *:
Email *:
Cod *: