Version compl�te: jsB@nk » Heure » Horloge » Titre Date de Script
URL: https://www.javascriptbank.com/title-date-script.html
Il s'agit d'un simple, mais utile DHTML script qui affiche la date actuelle que les titre du document. Il utilise la propriété exclusive de document.title IE 4/NS6 à cela, donc, n'est visible que pour les navigateurs IE 4/NS6.
Version compl�te: jsB@nk » Heure » Horloge » Titre Date de Script
URL: https://www.javascriptbank.com/title-date-script.html
<script language="JavaScript1.2"><!--hide//date in title by Randall Smith copyright 1999//please visit me on the web at http://members.xoom.com/u4rstunzd///and to change the title:where it says Welcome todays date is: just put var isnMonth = newArray("January","February","March","April","May","June","July","August","Septerber","October","November","December");var isnDay = newArray("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");today = new Date () ;Year=today.getYear();if (Year < 1000)Year+=1900Date=today.getDate();function setdate(){document.title="Today: "+isnDay[today.getDay()]+", "+isnMonth[today.getMonth()]+" "+Date+", "+Year+""}if (document.all)setdate()else if (document.getElementById)window.onload=setdate//--hide--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->