nyuszis 2 naptáras óra:(saját készítés)
Demó:
Kód:
<table border="3" width="180" id="table1" bgcolor="#FFFFFF" bordercolor="#585B69">
<tr>
<td align="center"><font size="3" color="#585B69"><script>
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
document.write("<small><font color='#585B69' face='Arial'><b>"+month+"/"+daym+"/"+year+"</b></font></small>")
</script></font></td></CENTER>
</tr>
<tr>
<td align="center" width="180" height="180" style="border: 1px solid #585B69" background="//jegvirag.gportal.hu/portal/jegvirag/image/gallery/1455992162_46.png"> </td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF" bordercolor="#585B69" style="color: #585B69">
<font size="3" color="#585B69"><script language=Javascript1.2>
var tags_before_clock = "<font face='arial' size='3' color='#585B69'><b> "
var tags_middle_clock = "<font face='arial' size='3' color='#585B69'><b>"
function tS(){ x=new Date(); x.setTime(x.getTime()); return x; }
function lZ(x){ return (x>9)?x:'0'+x; }
function dT(){ if(fr==0){ fr=1; document.write('<font size=2 face=Georgia color=#585B69 ><b><center><span id="tP">'+eval(oT)+'</center></span></b></font>'); }
document.getElementById('tP').innerHTML=eval(oT); setTimeout('dT()',1000); }
var fr=0,oT="' '+lZ(tS().getHours())+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())+' '";
</script>
<script language="JavaScript">dT();</script>
</script></font></td>
</tr>
</table>
</div>
(Ha valami nem megy szólj és segítek. virag-78@gportal.hu )
Ellenorítve:2017.04.15.
Copyright © 2005-2017 JégVirág Design
|