yequari.com/themes/genesis/static/js/quotes.js

16 lines
580 B
JavaScript
Raw Normal View History

var subtitles = [
"null",
"George likes his chicken spicy",
"Graphic design is my passion",
"They don\'t think it be like it is, but it do",
"Terminally online",
"Twitter is a fandom site for current events",
"Genesis does what Nintendon\'t",
"1000 JS libraries in your pocket",
"A large boulder the size of a small boulder"
];
var index = Math.floor(Math.random() * subtitles.length);
console.log("setting subtitle to " + subtitles[index]);
window.onload = function() {
document.getElementById("subtitle").textContent = subtitles[index];
}