EXAMPLE :
(Loading...)
Powered by Ink of Life
Header Quote Script
<br />
<br />
<div id="textrotator">
(Loading...)</div>
<script language="JavaScript">
function rotateEvery(sec)
{
var Quotation=new Array()
// QUOTATIONS
Quotation[0] = '“ Add Your First Quote Here.” - <a href="#" target="_blank">Author</a>';
Quotation[1] = '“ Add Your Second Quote.” - <a href="#" target="_blank">Author</a>';
Quotation[2] = '“ Add Your Third Quote.” - <a href="#" target="_blank">Author</a>';
Quotation[3] = '“ Add Your Fourth Quote.” - <a href="#" target="_blank">Author</a>';
Quotation[4] = '“ Add Your Fifth Quote.” - <a href="#" target="_blank">Author</a>';
Quotation[5] = '“ Add Your Sixth Quote.” - <a href="#" target="_blank">Author</a>';
var which = Math.round(Math.random()*(Quotation.length - 1));
document.getElementById('textrotator').innerHTML = Quotation[which];
setTimeout('rotateEvery('+sec+')', sec*2000);
}
rotateEvery(2);
</script>
<span style="float: right; font-size: 65%;">Powered by <a href="http://inkoflife.blogspot.com/search/label/random%20quotes%20widget%20blogger" target="_blank">Ink of Life</a></span>
Changing Duration
By default the duration is set to 2 seconds. For example: