Sunday, June 7, 2009

Do you like to put some wise words or some random quotes in your blog? If you do, you can put the script in your blog. The wise words that you put will be randomly shown in your blog. You can set your text until 100 quotations. It will be randomly shown every time your page is refreshed.

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">
// ==============================================
// 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>
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 !

0 comments

Post a Comment

 


Disclaimer:We does not host any of the templates available on this blog. This blog merely indexes other sites contents.