Home Categories JavaScript JavaScripts

WebKnowhow Categories

AlertsAnimation
ButtonsClocks
CollectionsCookies
CountersForms
GamesMicellaneous
NavigationPasswords
Special EffectsText
UtilitiesWindows

Browser earthquake!

Real life earthquakes may induce sheer terror, but browser ones are a whole different story. Using DHTML, we've created an earthquake script that shakes the browser, simulating a quake effect. Use it to grab your visitor's attention, if nothing else.

Browser Information

This JavaScript cookie records the visitor's name and also writes the visitor's browser information to the screen.

Change Image @ The JavaScript Source

It's always neat to dynamically change an image when the user touches it. For this example, I have one image and when you put your cursor on it, it changes to another. If you use this script, be sure to use images of the same size!

Check E-Mail

Use JavaScript to ensure that e-mail addresses provided in a form submission contain a prefix, the '@' sign, and an appropriate suffix (.com, .net, etc.).

Check for Maximum Number of Charactors

Verifies that the number of charactors being submitted is less that a certain length.

Clear default form value script

Use this practical script to automatically clear the default value of any form's input field when the mouse sets focus on it. A great time saver for your visitors.

Clocks @ The JavaScript Source

These scripts all deal with JavaScript Clocks. They either tell you the current date or time into the user's time zone, or another time zone anywhere in the world. They look great on your site!

Cookie Counter with Message

Counts the number of times you have visited the page and gives you a message as well.

Cookies @ The JavaScript Source

These scripts all use JavaScript Cookies. Cookies are small bits of information such as a name, a date, an order, etc. Web pages can set cookies on a user's system and later retrieve them. They are becoming increasingly common in personal web pages to tra

Cookies Example

A simple JavaScript to show how cookies work.

Go to Previous  1, 2, 3, 4 ... 11, 12, 13  Next

Advertisement

Partners

Related Resources

Other Resources