How can I show a different quote at random on page refresh?
Hi there,
I have a div on my page with an id of "quote". It contains a quotation and an image of the person who made it, like so:
-
<div id="quote">
<blockquote>Quotation blah blah blah<p>Joe Bloggs</p></blockquote>
<img src="joe_bloggs.jpg" alt="Joe Bloggs">
</div>
I'd like to make the quote dynamic so that a different quote and accompanying image is shown at random when the page is refreshed.
Does anyone know how I might be able to go about doing this? Or does anyone know if there are any tutorials available which would help?
Many thanks for your help,
Katie