Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var quotes = new Array();
- // Add quotes here
- quotes [0] = "Quote1";
- quotes [1] = "Quote2";
- quotes [2] = "Quote3";
- quotes [3] = "Quote4";
- // And so on in a suchlike fashion
- document.write(quotes[(Math.floor(Math.random()*quotes.length))]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement