A demo:
04/08/2007 01/28/2006 |
|
10:44:41 |
A kód:
ŰŰ<!-- Begin Code © Copyright Ragnhild Sørum - http://xn--hardangersm-pgb.com. --> </body> </html> <div align="center"> <table border="1" width="80" id="table1" bgcolor="#000000" bordercolor="#ff0000"> <tr> <td align="center"><font size="1" color="#ff0000"><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='ff0000' face='Arial'><b>"+month+"/"+daym+"/"+year+"</b></font></small>") </script></font></td> </tr> <tr> <td align="center" width="80" height="80" style="border: 1px solid #ff0000" background="http://rds.yahoo.com/S=96062883/K=shakira/v=2/SID=e/l=IVI/SIG=11uahb6ok/EXP=1138529298/*-http%3A//www.4myown.biz/images/shakira_2.jpg"> </td> </tr> <tr> <td align="center" bgcolor="#000000" bordercolor="#ff0000" style="color: #ff0000"> <font size="1" color="#000000"><script language=Javascript1.2> var tags_before_clock = "<font face='arial' size='1' color='#ff0000'><b> " var tags_middle_clock = "<font face='arial' size='1' color='#ff0000'><b>" if(navigator.appName == "Netscape") { document.write('<layer id="clock"></layer><br>'); } if (navigator.appVersion.indexOf("MSIE") != -1){ document.write('<span id="clock"></span>'); } function upclock(){ var dte = new Date(); var hrs = dte.getHours(); var min = dte.getMinutes(); var sec = dte.getSeconds(); var col = ":"; var spc = " "; var com = ""; if (hrs == 0) hrs=24; if (min<=9) min="0"+min; if (sec<=9) sec="0"+sec; if(navigator.appName == "Netscape") { document.clock.document.write(tags_before_clock+hrs+col+min+col+sec+tags_middle_clock+day+com+spc); document.clock.document.close(); } if (navigator.appVersion.indexOf("MSIE") != 1){ clock.innerHTML = tags_before_clock+hrs+col+min+col+sec+tags_middle_clock+com+com+spc; } } setInterval("upclock()",1000); </script></font></td> </tr> </table> </div> </p> <font color="#000000"> </body> </html> <!-- End Code © Copyright Ragnhild Sørum - http://xn--hardangersm-pgb.com. -->
A demo:
04/08/2007 01/28/2006 |
|
11:30 |
A kód:
ŰŰ<!-- Begin Code © Copyright Ragnhild Sørum - http://xn--hardangersm-pgb.com. --> </body> </html> <div align="center"> <table border="1" width="80" id="table1" bgcolor="#000000" bordercolor="#ff0000"> <tr> <td align="center"><font size="1" color="#ff0000"><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='ff0000' face='Arial'><b>"+month+"/"+daym+"/"+year+"</b></font></small>") </script></font></td> </tr> <tr> <td align="center" width="80" height="80" style="border: 1px solid #ff0000" background="http://rds.yahoo.com/S=96062883/K=shakira/v=2/SID=e/l=IVI/SIG=128qd6ds4/EXP=1138530409/*-http%3A//www.israeluniverse.com/images/shakira-bar.jpg"> </td> </tr> <tr> <td align="center" bgcolor="#000000" bordercolor="#ff0000" style="color: #ff0000"> <font size="1" color="#000000"><script language=Javascript1.2> var tags_before_clock = "<font face='arial' size='1' color='#ff0000'><b> " var tags_middle_clock = "<font face='arial' size='1' color='#ff0000'><b>" if(navigator.appName == "Netscape") { document.write('<layer id="clock"></layer><br>'); } if (navigator.appVersion.indexOf("MSIE") != -1){ document.write('<span id="clock"></span>'); } function upclock(){ var dte = new Date(); var hrs = dte.getHours(); var min = dte.getMinutes(); var sec = dte.getSeconds(); var col = ":"; var spc = " "; var com = ""; if (hrs == 0) hrs=24; if (min<=9) min="0"+min; if (sec<=9) sec="0"+sec; if(navigator.appName == "Netscape") { document.clock.document.write(tags_before_clock+hrs+col+min+col+sec+tags_middle_clock+day+com+spc); document.clock.document.close(); } if (navigator.appVersion.indexOf("MSIE") != 1){ clock.innerHTML = tags_before_clock+hrs+col+min+col+sec+tags_middle_clock+com+com+spc; } } setInterval("upclock()",1000); </script></font></td> </tr> </table> </div> </p> <font color="#000000"> </body> </html> <!-- End Code © Copyright Ragnhild Sørum - http://xn--hardangersm-pgb.com. -->
|