title: How can I change text after time using jQuery?
body: <p>I've never used jQuery before, and I would like to ask how to do something that may seem simple to you people. I've looked around but couldn't find an answer.</p>
  
  <p>Okay, so say I have a HTML document;</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h1&gt;Hello world!&lt;/h1&gt;
  &lt;p&gt;Here is a message: &lt;span id="message"&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What I want to ask is how to create a list of strings, and when the page loads the first one is displayed, and after a random interval of specified time it changes to the next one, and so on, and maybe about 5 messages later it would redirect the user to a different page.</p>
  
  <p>If my messages were:</p>
  
  <pre><code>Hello!
  This is a website!
  You are now going to be redirected.
  Are you ready?
  You're now being redirected...
  </code></pre>
  
  <p>In my real site it would be nice if the messages could be hidden from the user (on the page, but in a css/js file it would be fine) and that it had a nice sort of fade effect as the next message came in.</p>
  
  <p>Can someone explain to me how to work this?</p>
  
  <p>I'd just like to add, I have no experience in jQuery (only a little in JavaScript) and I have no idea where the scripts/functions go. Could someone show me how, or link to a beginners guide that shows me this?</p>