Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Random Quote
Gives a random quote to scroll bar.
Insert into <HEAD>
<script language="JavaScript"> <!-- Hide from old browsers var a = Math.random() + "" var rand1 = a.charAt(5) quotes = new Array quotes[1] = "MESSAGE #1" quotes[2] = "MESSAGE #2" quotes[3] = "MESSAGE #3" quotes[4] = "MESSAGE #4" quotes[5] = "MESSAGE #5" quotes[6] = "MESSAGE #6" quotes[7] = "MESSAGE #7" quotes[8] = "MESSAGE #8" quotes[9] = "MESSAGE #9" quotes[0] = "MESSAGE #10" var quote = quotes[rand1] // -- End Hiding Here --> </script>
Insert into <BODY>
<script language="JavaScript"> <!-- Hide this script from old browsers -- document.write("<i>" + quote + "</i>") // -- End Hiding Here --> </script>
Other Options
You can add other font characteristics to the quote. In the line, document.write("<i>" + quote + "</i>") the quote is italisized. In the quotations you may add any other type of tag like <STRONG></STRONG> or <U></U>.