2013-03-17, 07:36 AM
Please a develop a Plugin "Thoughts of the day !! "
which we enter 31 days thoughts &
it will show automatic as date no. wise
& shows like " Announcements" on top of page !!
for some where i see the source code
& following html code & java script inserted
so help me..
html code
java script code
which we enter 31 days thoughts &
it will show automatic as date no. wise
& shows like " Announcements" on top of page !!
for some where i see the source code
& following html code & java script inserted
so help me..
html code
<div id="thought">
<div id="thought-head">THOUGHT OF THE DAY</div>
<div id="thought-desc">
<script type="text/javascript" src="/templates/DSS/pearls3.js"></script>Try to set a virtuous goal for life.
</div>
</div>
java script code
var now = new Date
var today= now.getDate()
switch (today)
{
case 1:
document.write("Make a vow to forbid sins.");
break;
case 2:
document.write("Every religion sincerely believes that slandering is a great sin.");
break;
case 3:
document.write("It is a slur on the manhood of persons, who do not feel ashamed by inducing female feticide.");
break;
case 4:
document.write("Always express sincere gratitude to your spiritual guide.");
break;
case 5:
document.write("Resentment of a Saint is a boon but worldly affection is sometimes dangerous.");
break;
case 6:
document.write("Impart and inculcate pure and sacrificing instincts to your wards.");
break;
case 7:
document.write("Everyone should perform regular routine work on the personal basis rather depending upon others.");
break;
case 8:
document.write("A place to settle the true bargain for emancipation of soul is located in between two eyes.");
break;
case 9:
document.write("The grace of God is not attained through deceit and hypocrisy.");
break;
case 10:
document.write("Today, man tends to deceive at every action like a chameleon changing its color.");
break;
case 11:
document.write("A race of wicked persons will flourish in the garb of religions.");
break;
case 12:
document.write("Religions are only left in the disguise of ostentation.");
break;
case 13:
document.write("A person can only become capable to visualize God through a spirit of unstinted love.");
break;
case 14:
document.write("Illusion of ghost and evil souls is due to ignorance.");
break;
case 15:
document.write("Female feticide is a great sin. People should avoid and discourage it.");
break;
case 16:
document.write("Intoxicants become the cause of terrible diseases and ruin the fate of many families.");
break;
case 17:
document.write("Try to set a virtuous goal for life.");
break;
case 18:
document.write("Saints are like mirrors who always guide the strayed masses.");
break;
case 19:
document.write("Never snatch and deprive someone from food.");
break;
case 20:
document.write("Always meditate on God's words to visualize God Himself.");
break;
case 21:
document.write("God does not demand anything from anyone. He is the sole benefactor forever.");
break;
case 22:
document.write("Limit your family. Be satisfied with one child. But do not go beyond two.");
break;
case 23:
document.write("Intoxicants are adulterated with filthy materials which cause many serious diseases.");
break;
case 24:
document.write("Always try to safeguard your civilizations.");
break;
case 25:
document.write("Spiritual discourse is such a strong fortress in which the people come to realize the truth.");
break;
case 26:
document.write("One should always remain vigilant even while maintaining free state of mind.");
break;
case 27:
document.write("Recitation of God's words functions as ultimate treatment to every disease.");
break;
case 28:
document.write("Our religions impart information and knowledge of super-science.");
break;
case 29:
document.write("Avoid offering allurements to God.");
break;
case 30:
document.write("Spiritual guide is the only competent master to clear the clouds of ignorance.");
break;
case 31:
document.write("Do good to everyone and pray for their well being.");
break;
default:
document.write("Always try to safeguard your civilizations.");
}