2006/08/08
20:17:11 | |
A háttér színének kódját kékkel, a keretét pirossal, és a szövegét zölddel kiemeltem (tetszőlegesen állítható)
<head> <SCRIPT LANGUAGE="JavaScript"> navvers = navigator.appVersion.substring(0,1); if (navvers > 3) navok = true; else navok = false;
today = new Date; numero = today.getDate(); if (numero<10) numero = "0"+numero; mois = today.getMonth(); if (navok) annee = today.getFullYear(); else annee = today.getYear(); mois++; if (mois < 10) mois = "0" + mois; messageDate = annee + "/" + mois + "/" + numero; function HeureCheck() { krucial = new Date; heure = krucial.getHours(); min = krucial.getMinutes(); sec = krucial.getSeconds(); jour = krucial.getDate(); mois = krucial.getMonth()+1; annee = krucial.getFullYear(); if (sec < 10) sec0 = "0"; else sec0 = ""; if (min < 10) min0 = "0"; else min0 = ""; if (heure < 10) heure0 = "0"; else heure0 = ""; DinaHeure = heure0 + heure + ":" + min0 + min + ":" + sec0 + sec; which = DinaHeure if (document.all){ dynamic3.innerHTML='<center>00:00:00</center>' dynamic3.innerHTML='<FONT SIZE=1 FACE=" Arial"><B>'+which+'</B></FONT>'; } else if (document.layers){ document.dynamic1.document.dynamic2.document.write(''+which+'') document.dynamic1.document.dynamic2.document.close() } tempo = setTimeout("HeureCheck()", 1000) } </SCRIPT> </head> <body onLoad="HeureCheck()" onUnload="clearTimeout(tempo)">
<table border="0" cellspacing="0" cellpadding="0" width="50" height="50"> <tr> <td bgcolor="#FF9900" style="border: 1 solid #fff000 " > <table summary="" border="0" width="100%" height="100%"> <tr> <!-- text --> <td background="#FF9900"><CENTER> <font color="#ffffff"> <!-- fin couleur fond et texte --> <FONT SIZE=1 FACE="arial"><B><SCRIPT LANGUAGE="JavaScript"> document.write(messageDate); </SCRIPT> </B></FONT> <!-- image ici --> <img border="0" src="//gportal.hu/portal/ronaldinhofansite/image/gallery/1155060492.jpg" width="100" height="75"> <!-- fin image ici --> </a> <ilayer id="dynamic1" width=100% height=15><layer id="dynamic2" width=100% height=15><div id="dynamic3"></div></layer></ilayer> </font></CENTER> </td> </tr> </table> </tr> </table> </body>
|