A Random Quote For Site Slogan

September 9, 2006

window.onload = function()

{

  var quotes = ["I wanna be a racecar passenger.", "Alright, you're a cook - can you farm?"];

  var i = Math.floor(Math.random()*quotes.length);

  document.getElementsByTagName('h2')[0].innerHTML = '"' + quotes[i] + '"';

}

Don’t forget to add blank lines before and after the JS!