Javascript: Display Random Text from a list
January 5th, 2009
Comments off
Did you ever want to display a random text from a pre-populated list? Maybe you wanted to randomly display a client testimonial from a list of 10… well, here’s the script you need.
place the following code in the head of your document (somewhere between the <head> and </head> tags):
<script type=”text/javascript” src=”../scripts/rotate.js”></script>
now, place the following code [...]