Use this snippet to insert a node after another node. Quite handy in laying out Web pages.
Reload on Resize
Useful for situations when a page resize moves the page elements improperly or causes JavaScript errors, which has been known to occasionally occur on pages with layers. As a solution, this script reloads the web page when the user resizes the page.
Multiple onLoad 2
Need to load several functions after the page loads? Use this snippet to call several functions using the onLoad event handler. Easy to use.
Scrolling Text Button
Display a scrolling text message on a form button. Completely customizable.
Quartic Equation Solver
This script can solve quartic equations in the form of ax^4 + bx+3 + cx^2 + dx + e = 0.
Multiple Choice Quiz
Add a quiz to your Web page without using a server-side script. Easy to set-up. Questions and answers are stored in a multi-dimensional array format in an external file. The quiz is marked in real time, and once answered, questions are set to read-only. A summary of the users score is alerted at the end.
Event Calendar Code Generator
This script generates code for an event calendar instead of having to do the tedious task of making one each month. This completely simplifies the table making involved. Just punch in your data and cut and paste the code.
Banner Ad Rotator
Display two or more rotating banners (480 x 60) in an infinite loop. Banners also link to advertised URLs.
XMLWriter
This is a JavaScript class, based on .NET’s XMLTextWriter. This is not a port, but a reduced and adapted version. It allows you to easily generate XML. The script is heavily commented for complete understanding.
Virtual Keyboard Interface
This script is a reusable system for adding a graphical keyboard interface to text fields, password fields, and textareas so they can be filled with mouse only.