Creating and maintaining an effective JavaScript toolbox can greatly reduce development time. This script will show you how to include specific snippet modules on individual pages. Comments and a tutorial are included.

AJScroller is a cross-browser, DHTML scroller. Full HTML syntax is supported, which means you can add images, format and align text quickly and easily. The scrolling speed and pause delay can be configured and controlled dynamically.

(Internet Explorer Only) A very simple encryption method that uses random values for each character. Interestingly, you can encrypt the same string as many times as you want and the result will always be different. Best used with short strings.

When an image is clicked, this script will show the image URL in a textbox. Useful for cases where you want others to be able to copy the image address easily for linking... such as for banners, logo graphics, etc. A single instance of the script can be attached to any number of images in the page.

Selling ad banners has just got easier! Just enter two fields of the three fields of information, such as the total cost, CPM (cost per thousand impressions), and exposures (number of ads shown), and the calculator will solve the last field for you.

Modifies a number by adding commas after every third digit. For example, 123456789 is converted to 123,456,789. The script example shows this script as used on numbers of various sizes. And, it demonstrates a clever use of the modulus operator.

This gallery script allows you to display and rotate
entire blocks of HTML on demand. Display images, text, or rich
HTML in a dynamic manner. Set the script to automatically cycle
through the contents like in a scroller, or via manual
selecting. Furthermore, we made inputting the contents a breeze.
Simply wrap desired blocks of HTML in a special tag, and
they are automatically added to the gallery.

This script uses an array to store the usernames and passwords.
It also uses a prompt box for username and password info and
uses the indexOf property to search the array for a username and
password match in a for.. loop.

Confirm your visitor's approval by requiring their name before continuing on. Useful if you require your visitors to accept a disclaimer before downloading software or visiting a section of your members-only site. Could be used with a cookie.

This useful JavaScript calculator will tell you the degrees, Nautical Miles, Statute Miles, and Kilometers between your originating and destination airports. It's got a built-in database of over 150 of the most traveled airports! Very neat! I've given a copy to everyone I know who fly often. ;-)

Use this script instead of frames. When a visitor clicks on a specific link, the content of that link is inserted into the page without a refresh. When a page doesn't exist, a user-friendly error message is given.

When a visitor clicks on a specific link, the content of that link is inserted into the page without a refresh. When a page doesn't exist, a user-friendly error message is given. [Note: This is an edited version of the original script.]

Often when working on scripts alert boxes are placed inside loops as a debugging tool. You can sometimes end up with hundreds of alert boxes and no way to stop them. This script placed at the start of your code will give you an option to disable the alert boxes after a pre-determined number set by you.

Most scripts that provide alternating rows of color are made for tables. This script can be used with any HTML tag, e.g., div, p, etc. Very easy to set-up and implement. Highlight that special section on your page without too much fuss.

With the help of this script you can put up a text box on your Web page that displays alternating messages for your visitors. It saves space, as a lot of text can be contained in a minimal display area.

This script opens a floating layer popup. This technique allows the user to work in the main window while still being able to view the popup. The popup window will hover at the same spot where it opens, even if the user scrolls down the page.

Use this script to help figure out your mortgage payments. It takes the percentage rate, principal and the length of the loan and produces a payment schedule.
The accuracy and applicability of this calculator is not guaranteed, actual values may vary slightly.

Hate spam? Fight back! This script will generate random e-mail addresses on a page that spambots will, in turn, try to contact. Because they aren't real, they will bounce back to the spammer's mailbox, which will keep them busy with fake addresses.

As you move your mouse around the page a swarming army of ants scattered about the window will chase after it. (No wisecracks about buggy code now...) If an ant actually reaches the mouse cursor, we reposition it randomly around the edge of the window, and its chase starts again. The ant images are preloaded with a great image loading bar script, then the script begins. A great effect!

Need to find the area or circumference of a circle, the area of a rectangle, or the volume of a cylinder? This cool script will find it for you. In addition to the answer, it also gives all the steps needed to solve the equation. (The answer is rounded off.) Pretty cool!

A nice implementation of the magic squares game where the objective is to arrange the numbers in order. Multiple levels, timer and counter included. Warning: Tthe game is very addictive! (Internet Explorer only)

We've captured the spy Mustafa from the Austin Powers movie. Mustafa will refuse to answer any question you ask. Except, he hates hearing the same question three times in a row. Ask him a question three times in a row and he will answer you. Fun!

A handy calculator that will calculate both your Western and Chinese birth Signs. Enter the day, month, and year of your birth - or your date's - and instantly figure out if you (or they) are a Gemini born in the Year of the Ox, or a Year of the Rabbit/Cat Aquarius. The calculator will also return customizable funny messages if the user inputs an impossible date (ie, February 30 or December 32).

Create an auto-complete or auto-suggest text box in JavaScript, without use of prototype handlers and other advanced techniques. This script could be adapted for use in a number of different situations.

Automatically creates a new e-mail utilizing the user's default e-mail client. The script fills in the subject line and adds the URL of the current Web page to the body. Note: May not be compatible with all e-mail clients.

Set "go live" and "expire" dates for content, such as "Latest News" or various promotional content. Great for when you don't have time to remember to go back and take old content down, or when you want to create content and have it go live at a later date.

This pulldown menu will automatically adjust the range of months so that the current month is at the top. The remaining months are placed in order after the current month. The menu still functions with JavaScript turned-off.

As the user selects items in the form, this script will display a running total automatically. No need to keep reloading the page, and no surprises for your user at the check-out point. Easy to implement into your existing forms.

Automatically sets focus to the next form element when the current form element's maxlength has been reached. The user, then, does not have to manually click in or tab to the next field. Very easy to change for different size fields. Perfectly suited for constant-length strings such as a phone number or social security numbers.

Google's new Beta Toolbar includes a feature called 'AutoLink'. The toolbar scans through the current Web page and links any addresses or ISBN numbers to Google's services. This script will stop the toolbar from placing a link in the Web page.

This script will automatically build a "breadcrumb" navigational link to any page on your Web site. This allows your visitors to see exactly where they are on your Web site at an given time. Very easy to implement.

This script displays the size and type of a document next to the link targeting it. This distinguishes the 'attachment' link from a normal Web link, and provides the user with helpful information. Easy to implement. Includes the necessary jQuery script.

This search form gives you the possibility to search the 50+
most popular search engines and directories. The form is
transparent, so you can paste it right on your website to fit
your design, and to offer your visitors a valuable tool that
makes them come back.

This search form gives you the possibility to search the 42 most popular search engines and directories. The form is transparent, so you can paste it right on your Web site to fit your design ... and it is only one line!

Have you ever wanted to add a style sheet to your document using the full CSS without having to use addRules and insertRules? While this method is a bit "non-standard", it's a pretty nifty approach that can be expanded upon.

The DevEdge Archive, a strategic alliance formed by America Online and Sun Microsystems, Inc., is delivering iPlanet e-commerce software and enterprise solutions that enable companies to compete successfully in the Net Economy