Ptite_Perle
A les clefs du forum
Je tiens le trousseau de clefs du forum
Fondatrice Messages : 5857 Venue : 27/06/2009 Je suis : Age : 60 Je vie à : Lyon Humeur : Bonne humeur Mes Points : 120057 La Date dans la barre d'onglet | | Un petit truc sympa La Date dans la barre d'onglet [Vous devez être inscrit et connecté pour voir cette image]Le Code! - Code:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Scripts javascript : Aperçu</title> <script language="JavaScript1.2"> //script par Randall Smith copyright 1999 - Dynamicdrive.com //remix par Deoxys copyright - http://antoinematyja.free.fr/graphicmedia/
// les mois var isnMonth = new Array("janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre");
// les jours var isnDay = new Array("dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi","dimanche");
// annee actuelle today = new Date() ; Year=today.getYear(); if (Year < 1000) Year+=1900 laDate=today.getDate();
// On ecrit enfin tout ce qu on a enregistre dans le title function setdate(){ document.title=" "+isnDay[today.getDay()]+" "+laDate+" "+isnMonth[today.getMonth()]+" "+Year+"" } if (document.all) setdate() else if (document.getElementById) window.onload=setdate </script>
</head>
<body>
<br /><p class="tt" >TITRE</p><br /><br /> Ecrivez sur votre page<br><br>
</body> </html> |
| |