|
Script Introduction
This script will write a random quote from a set of 10 into a web page where you want it to show up.
Cut and Paste Code: BODY Section
This code should be placed between the <body> and </body> tags.
Installation Instructions
-
Paste the BODY Section code from above between the <body> and </body> tags on your page,
exactly where you want the quote to appear.
-
Change the text in red below to the quotes you want to use.
var quote=new Array(maxQuotes)
quote[0]="Quote #1";
quote[1]="Quote #2";
quote[2]="Quote #3";
quote[3]="Quote #4";
quote[4]="Quote #5";
quote[5]="Quote #6";
quote[6]="Quote #7";
quote[7]="Quote #8";
quote[8]="Quote #9";
quote[9]="Quote #10";
-
Check the Format Window
to be sure you do not have one single line of code, or too many line breaks in the code.
Example
A working sample of the script is shown below.
|