It's very easy to put this script. You just need to copy and paste the script into your page element. You can put wherever you want. It depends on your idea and also your design style of your blog.
Put the script below into your page element;
<script language="JavaScript">Fill your text in the space "Your Text" above. You can also add your text till 100 quotations. May this kind of tool be helpful for all of you, thanks in advance. Cheers !
// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================
var Quotation=new Array() // do not change this!
// Set up the quotations to be shown, below.
// To add more quotations, continue with the
// pattern, adding to the array. Remember
// to increment the Quotation[x] index!
Quotation[0] = "Your Text";
Quotation[1] = "Your Text";
Quotation[3] = "Your Text";
Quotation[4] = "Your Text";
Quotation[5] = "Your Text";
Quotation[6] = "Your Text";
Quotation[7] = "Your Text";
Quotation[8] = "Your Text";
Quotation[9] = "Your Text";
Quotation[10] = "Your Text";
Quotation[11] = "Your Text";
Quotation[12] = "Your Text";
Quotation[13] = "Your Text";
Quotation[14] = "Your Text";
Quotation[15] = "Your Text";
Quotation[16] = "Your Text";
Quotation[17] = "Your Text";
Quotation[18] = "Your Text";
Quotation[19] = "Your Text";
Quotation[20] = "Your Text";
// ======================================
// Do not change anything below this line
// ======================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}
showQuotation();
</script>
0 comments
Post a Comment