Let your visitors ponder the meaning behind random quotes of 'wisdom' with this fun script. It comes with a list of over 200 quotes, displayed randomly each time the page loads. Nice.
Use this JavaScript to display your news on the webpages. This simple effect just uses marquee tag to scroll news, and scroller pauses when visitors move mouse over it.
By using string manipulation and setTimeout, you can have the letters on a button 'scroll'. Run the code for an easy example.
Display a few words in a form field and when focus is given to the field, the words will disappear. Great for providing instructions in a small space.
This JavaScript can be used to check form input, not only for all required fields being completed, but can also make certain that fields requiring number (integer) or date input have been filled in correctly.
Multiple series of dropdown boxes (up to 3) are automatically populated based on previous selection. Revised to work with IE, Netscape, Firefox, and Opera.
Build fluid Web pages that adjust according to the size of your visitor's monitor settings. This script uses the screen.availWidth
and screen.availHeight
properties to detect your visitor's screen resolution.
I think this JavaScript is also quite interesting. It can make objects become more lovely and colorful. Here in example, you move your mouse over the objects to see effect.
This JavaScript code creates a message box and shows an alert after the page gets downloaded. Use the test cases to invoke methods of the message box directly.