Version compl�te: jsB@nk » Image » Rotation » Rotating Banners Cours et barre d'état
URL: https://www.javascriptbank.com/rotating-banners-and-status-bar-quotes.html
Cet JavaScript permettra non seulement d'ajouter des bannières tournantes/images de votre page, mais également en rotation barre d'état messages.
Version compl�te: jsB@nk » Image » Rotation » Rotating Banners Cours et barre d'état
URL: https://www.javascriptbank.com/rotating-banners-and-status-bar-quotes.html
<script language="JavaScript"><!-- Begin hiding script from older browsers// Replace the images inside the double-quotes to your own images// You may have any number of imagesadImages = new Array("logojs.gif","photo1.jpg","photo2.jpg","photo3.jpg","photo4.jpg")// Replace the quotes to inside the double-quotes to your own quotes// You may have any number of quotes but they must equal the number of images that rotatequote = new Array("This is Image 1","This is Image 2","This is Image 3","This is Image 4","This is Image 5")// Please remove this lineand the double-slashes at the beginning of the next line to add links to the rotating images// Please remove this line to add links to the rotating imagesadURL = new Array ("http://javascriptbank.com","http://javascriptbank.com","http://javascriptbank.com","http://javascriptbank.com","http://javascriptbank.com")thisAd = 0imgCt = adImages.lengthquoteCt = quote.lengthfunction rotate() { if (document.images) { if (document.cycle.complete) { thisAd++ if (thisAd == imgCt && thisAd == quoteCt) { thisAd = 0 } document.cycle.src = adImages[thisAd]; window.defaultStatus = quote[thisAd];}// This sets the interval to which the images and quotes are rotated. 1000 equals 1 secondsetTimeout("rotate()", 3500) }}function rotateLink() { window.parent.location.href = "http://" + adURL[thisAd] }// End hiding script from older browsers --></script>
<body onLoad="rotate()"><img src="backgr14.jpg" border="0" name="cycle"></body>