Choisissez une image d'environ 60*60 px. Vous l'importez sur OB.
Dans le mode source de l'endroit où vous voulez cette horloge, vous collez :
<p>
<table height="120" cellspacing="0" cellpadding="0" width="80" border="3">
<tbody>
<tr>
<td bordercolor="#000066" bgcolor="#000000"
>
<table height="120" cellspacing="0" cellpadding="0" width="80" border="0">
<tbody>
<tr>
<td align="center" bgcolor="#000000" height="20"><font color="#ffffff"><SCRIPT LANGUAGE="JavaScript">
Today = new Date;
Heure = Today.getHours();
Min = Today.getMinutes();
Message =Heure + "h" + Min + "m";
</SCRIPT><SCRIPT LANGUAGE="JavaScript">
document.write(Message);
</SCRIPT></font></td>
</tr>
<tr>
<td align="center" bgcolor="#000000" height="60"><img height="68" alt="" src="adresse de l'image" width="60" /></td>
</tr>
<tr>
<td align="center" bgcolor="#000000" height="20"><font color="#ffffff"><SCRIPT LANGUAGE="JavaScript">
Today = new Date;
Jour = Today.getDate();
Mois = (Today.getMonth())+1;
Annee = Today.getFullYear();
Message = Jour + "/" + Mois + "/" + Annee;
</SCRIPT><SCRIPT LANGUAGE="JavaScript">
document.write(Message);
</SCRIPT></font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</p>
Maintenant, personnalisez votre calendrier
bordercolor="#000066" couleur de l'encadrement
bgcolor="#000000" couleur de fond
font color="#ffffff" couleur de la police
http://idata.over-blog.com/0/37/17/67/trouvailles/ch35.gif adresse de votre image
Et vous obtenez :
L'heure et la date n'apparaîtront qu'à l'édition
8
Retour à la page d'accueil
Commentaires