How to Put Daily Quotes in Blog or Website?

This quote will be changing on each assigned day, there were 31 days of different quotes.

Words of the Day -



How to do that?
Will here are some Steps, Just be sure you select the HTML/JavaScript on your Gadget under the Designed Area




After selecting the HTML/JavaScript you may now insert the Following Code

<script language="JavaScript">
<!-- Begin
var msg = new Array();
Stamp = new Date();
today = Stamp.getDate();
msg[1] = "Day 1";
msg[2] = "Day 2";
msg[3] = "Day 3";
msg[4] = "Day 4";
msg[5] = "Day 5";
msg[6] = "Day 6";
msg[7] = "Day 7";
msg[8] = "Day 8";
msg[9] = "Day 9";
msg[10] = "Day 10";
msg[11] = "Day 11";
msg[12] = "Day 12";
msg[13] = "Day 13";
msg[14] = "Day 14";
msg[15] = "Day 15";
msg[16] = "Day 16";
msg[17] = "Day 17";
msg[18] = "Day 18";
msg[19] = "Day 19";
msg[20] = "Day 20";
msg[21] = "Day 21";
msg[22] = "Day 21";
msg[23] = "Day 23";
msg[24] = "Day 24";
msg[25] = "Day 25";
msg[26] = "Day 26";
msg[27] = "Day 27";
msg[28] = "Day 28";
msg[29] = "Day 29";
msg[30] = "Day 30";
msg[31] = "Day 31";

function writeTip() {
document.write(msg[today]);
}
// End-->
</script>

Daily Thought -<br><script>writeTip();</script>

You may Change the "DAY 1 to 30" to one of your Favorite Quotes. Just change only the (Day #) word, not the "Quotation Mark", else it won't work.

e.g.
msg[1] = "If you don't have any strength to stand in fighting a good fight, then use your knees. You will always find strength on bended knee. - Jerry N. Bustillo";

That's how it goes.

Comments

Check out the rest of my blog post at www.bustillo-family.blogspot.com