Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
- <script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js">
- <script language="javascript" type="text/javascript">
- $(document).ready(function () {
- var words = new Array();
- words[0] = "“Your deepest presence is in your every small contracting and expanding. The two as beautifully balanced and coordinated as birdwings.” -Rumi";
- words[1] = "“What is this precious love and laughter budding in our hearts? It is the glorious sound of a soul waking up.” ~Hafiz";
- words[2] = "“No matter where you go... there you are!” -Buckaroo Banzai";
- words[3] = "“Zaphod\'s... just this guy, you know?” -Douglas Adams\' The Hitchhiker\'s Guide To The Galaxy";
- words[4] = "“Monicka is just the bestest licensed massage therapist, ever!” — a very smart, satisfied customer";
- function changeRecommendQuote() {
- var rand = Math.floor(Math.random() * words.length);
- var recommendElement = document.getElementById("recommendation");
- recommendElement.innerHTML = words[rand];
- $('#recommendation').fadeIn(1500).delay(4000).fadeOut(1500);
- }
- changeRecommendQuote()
- setInterval(changeRecommendQuote,7250)
- });
- </script>
- <p style="display:none;" id="recommendation">? ?</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement