Categories:

Home / Free JavaScripts / Random Stuff / Here

Cut & Paste Random motivational quotes

Credit: JavaScript Kit

Description: 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!

Example: (reload page to see another)

Directions:

Step 1: Save the following file and upload it into your website directory (by clicking it, or clicking it with the Shift key depressed in NS):

motivatequote.js

Step 2: Insert the below code into your page where you wish the quote to appear:

Be sure to change the src property above to correctly point to the motivatequote.js file on your server. To edit or modify the quotes, open up motivatequote.js using any text editor, such as Windows Notepad.

"The words printed here are concepts. You must go through the experiences." -Carl Frederick


JavaScript Tools:
Site Info

CopyRight 1998-2014 JavaScript Kit. NO PART may be reproduced without author's permission.