Displaying random text on blogger

by - 09.59

Many people want to change the look by adding the gadget blog-gedget unique
and most people will not be satisfied with what he created. now I will
Randomize explains how to create text on the blog.
random text function to display the text differently when someone comes or
refresh our blog. it would appear that everyone is different. eg greetings, words of pearls,
etc..


direct us to the topic and practice. This script uses javascript. even if you do not master the javascript
Do not worry, this is very easy and can be done by anyone. and the only change at least a few words.

now that you have to do is go to blogger.com as usual, then Go to Dashboard -> Layout -> Add Gadget, select HTML / Javascript.


and input the following script:




<script language="JavaScript">
var Quotation=new Array() // do not change this!

Quotation[0] = "Wise Words";
Quotation[1] = "poetry";
Quotation[2] = "rhyme";
Quotation[3] = "Wisdom Writings";
Quotation[4] = "saying";
Quotation[5] = "Wise Words";

var Q = Quotation.length;

var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}
showQuotation();
</script>







ever notice the bold words and red. the words you replace with the words you want. then save. and see the results.

good luck. may be useful.



You May Also Like

0 komentar