Strona 1 z 1

HTML!! Pomocy!!

: 30.01.2005 19:25:35
autor: za0_DR/FR
Wiecie moze jak wprowadzić zegar w html w notatniku (napisanie stronki w notatiku i dodanie do niej zegara). Jaka jest komenda bo mam jakąś dziure w mózgu i nie moge sobie przypomnieć.

: 30.01.2005 19:37:19
autor: Cosmos
nie pomoge Ci ale spytam: jak oko ?

: 30.01.2005 20:31:33
autor: KURA fr
ale to skrypt jest, niewiem czy o to ci chodzilo :)

a i w <body> na poczatku daj <body onLoad="show5()">
i powinno dzialac. pozdro

<span id="liveclock" style="position:absolute;left:0;top:0;"></span>
<script language="JavaScript"> <!--
/*Upper Corner Live clock script credit: Website Abstraction (www.wsabstract.com) More free scripts here!
*/ function show5(){if (!document.layers&&!document.all)return
var Digital=new Date() var hours=Digital.getHours()
var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM"
if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9)
minutes="0"+minutes if (seconds<=9) seconds="0"+seconds
//change font size here to your desire
myclock="<font size='5' face='Arial' ><b><font size='1'>Bieżący czas:</font></br>"+hours+":"+minutes+":"
+seconds+" "+dn+"</b></font>"if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()}else if (document.all)
liveclock.innerHTML=myclocksetTimeout("show5()",1000) } //--> </script>