13920Cut & Paste Random motivational quoteshttp://wsabstract.com/script/script2/motivatequotes.shtmlThis 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. Lift the spirits of your visitors with this script...they deserve it!
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
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. Lift the spirits of your visitors with this script...they deserve it!
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.
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. The disadvantage, of course, is that all the alternatives have to be downloaded, so you're loading a lot of unnecessary information just to display one string.
In a real example, the 'cannot be displayed' message (which you will see if you don't have a Java-capable/enabled browser, or if you're running Navigator 2.0) should usually be replaced by a default string.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.