A Random Quote For Site Slogan
Sat Sep 09, 2006 · 44 words
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!


back · essays · credits ·