Created
February 24, 2011 01:01
-
-
Save spearson/841544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var quotes = new Array(); | |
quotes[0]="A good one man"; | |
quotes[1]="Different stuffz"; | |
quotes[2]="1119999"; | |
quotes[3]="ALL CAPS IS FREE"; | |
quotes[4]="no reali"; | |
quotes[5]="KeKBeePrz"; | |
function changeQuote() { | |
var newQuote = quotes[Math.round(Math.random() * quotes.length - 1)]; | |
document.quoteform.quote.value = newQuote; | |
} | |
setInterval("changeQuote()", 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment