Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // JMR's quote generator.
- // You can include HTML within the quote.
- // Add as many quotes as you would like.
- var quotes=[
- "I was flying around in my U.F.O. with a load of fuel in my inventory searching the deserts for pyramids. – The interesting part is: I found the pyramid half-buried in the sand!<cite><a href='https://forum.minetest.net/viewtopic.php?pid=111724#p111724' class='urlextern' title='https://forum.minetest.net/viewtopic.php?pid=111724#p111724' rel='nofollow'>Wuzzy</a>, <a href='https://forum.minetest.net/viewtopic.php?id=7063' class='urlextern' title='https://forum.minetest.net/viewtopic.php?id=7063' rel='nofollow'>Mod: Pyramids</a></cite>"
- ,"Some other quote"
- ,"Add as many as you'd like"
- ];
- var random = Math.floor((Math.random()*quotes.length));random;
- jQuery('blockquote > p').html(quotes[random]);
Advertisement
Add Comment
Please, Sign In to add comment