This script displays a random motivational quote on your site, out of 30. The quotes are contained inside a separate JavaScript file, making any updates to the quotes instantly reflected on all pages that contains the quote script.
Use this simple script to insert random quotes into your page. Simply set up the quotations as per the sample script, and insert the block of code in your page where you want the random quotes to appear. Any number of quotes may be used. Very easy install.
Interpolate a random string into a page when it is displayed. This technique could be used as an alternative to server-side includes for those who don't have them or don't want to overload the server.