»
AnglaisFran�aisVietnamien

Imprimer - Jour-de-la-semaine image displayer - JavaScriptBank.com

Version compl�te: jsB@nk » Image » Jour-de-la-semaine image displayer
URL: https://www.javascriptbank.com/day-of-the-week-image-displayer.html

Jour-de-la-semaine image displayer © JavaScriptBank.comUn script qui affiche un autre image en fonction du jour de la semaine (c'est-à-dire: un image pour le lundi, une image pour le mardi, etc.)

Version compl�te: jsB@nk » Image » Jour-de-la-semaine image displayer
URL: https://www.javascriptbank.com/day-of-the-week-image-displayer.html



JavaScript
<SCRIPT language=JavaScript><!--function dailyImage() {adImages = new Array("photo1.jpg","photo2.jpg","photo3.jpg","photo4.jpg","photo5.jpg","photo6.jpg","photo7.jpg");now = new Date();num = now.getDay();num %= adImages.length;if(document.adBanner) {document.adBanner.src=adImages[num]}} // --> </SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onload=dailyImage()><IMG alt="Ad Banner" src="logojs.gif" name=adBanner></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->