Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p id="quotebox"></p>
- <input type="button" value="Another!" onclick="quotes();" />
- <br>
- <br>
- function quotes(){
- var quote = new Array;
- quote[0]="\"If video games have taught me anything, it's that if you encounter enemies then you're going the right way.\" ~Unknown.";
- quote[1]="\"I don't need to get a life, I'm a gamer. I have lots of lives!\" ~Unknown.";
- quote[2]="\"A chainsaw! Find some meat!\" ~Doom."
- quote[3]="\"Don't judge my choices without understanding my reasons.\" ~Unknown."
- quote[4]="\"Logic and reason above all else.\" ~wolfboyft."
- quote[5]="\"Sociology is just applied physcology, which is just applied biology, which is just applied chemistry, which is just applied physics, which is just applied mathematics.\" ~wolfboyft."
- quote[6]="\"You got the BFG9000! Oh, yes.\" ~Doom."
- quote[7]="\"Nazi scum.\" ~BJ Blazcowicz."
- quote[8]="\"I'm a mur-diddly-urdler!\" ~Ned Flanders."
- quote[9]="\"Hot, sweet, sexy damn!!\" ~wolfboyft."
- rdmQuote = Math.floor(Math.random()*quote.length);
- document.getElementById("quotebox").innerHTML=quote[rdmQuote];
- }
- window.onload=quotes();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement