»
AnglaisFran�aisVietnamien

Imprimer - Random Text Rotator script - JavaScriptBank.com

Version compl�te: jsB@nk » Texte » Animation » Random Text Rotator script
URL: https://www.javascriptbank.com/random-text-rotator-script.html

Random Text Rotator script © JavaScriptBank.comVous pouvez ajouter un nombre illimité d'offres et de script de vue dans un ordre aléatoire

Version compl�te: jsB@nk » Texte » Animation » Random Text Rotator script
URL: https://www.javascriptbank.com/random-text-rotator-script.html



JavaScript
<script language="JavaScript">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/function rotateEvery(sec){var Quotation=new Array()// QUOTATIONSQuotation[0] = 'First quotation';Quotation[1] = 'Second quotation';Quotation[2] = 'Third quotation';Quotation[3] = 'Fourth quotation';Quotation[4] = 'Fifth quotation';Quotation[5] = 'Sixth quotation';Quotation[6] = 'You can add <b>as many</b> quotations <b>as you like</b>';var which = Math.round(Math.random()*(Quotation.length - 1));document.getElementById('textrotator').innerHTML = Quotation[which];setTimeout('rotateEvery('+sec+')', sec*1000);}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<body onload="rotateEvery(1)"><div id="textrotator"><!--Quotations will be displayed here--></div></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->