Using the Target Attribute
3
At times you may need to launch certain links into a new window. The 'target' attribute is deprecated and is therefore not allowed when using XHTML with a strict doctype. Using this script, you will be able to keep your pages valid while also using the target attribute to open new windows.
Removing Nodes Using the DOM
3
You can remove existing nodes using the DOM. The removeChild method allows any node to remove one of its child nodes. Simply pass a reference to the node you wish to remove. Any text or elements within the node being removed will be removed along with it.
JavaScript Includes
2
When you start using Prototype, Scriptaculous, and other JavaScript libraries, you often end up with a dozen lines of script tags pulling in all of the code from different places. That would be fine if you never added a new library or never needed to swapped them out. This script will create a single JavaScript loader for each project that contains all of the scripts necessary.
Disable the Submit Button
3
Sometimes it is a good idea to disable the submit button so that the user cannot make multiple submissions. This snippet will do the trick. Very easy to use.
Copy to Page
2
This snippet will copy text entered into a form field and place it directly on the Web page.
Opening New Windows
1
When using strict doctypes the target attribute is not allowed for opening new windows. This script will accomplish that task easily and unobtrusively.

The script uses the class name "non-html" so you will need to add that to the links you want to open in a new window, e.g., <a href="yourDocument.html" class="non-html">A sample file</a>

This script will not open a new window if a modifier key (ctrl/shift/etc.) is pressed while the link is clicked.

It also checks if the new window was successfully opened. If it was not, it returns true to allow the browser to open the link in the original window.
File Include script
1
Use this script to target which files you will include on a designated Web page. Easy to set-up and use.
Print to Preview
2
Your visitors may not be familiar with style sheets for printing and don't see a 'print preview' in their browser. This script will provide them with a reliable print preview.
Obtaining the URL of the Referring Document
3
Use this snippet to obtain the URL which referred the user to that page. Be aware that on some servers this may not work.
getXML
3
Obtain the contents of an XML element and convert it to text. This script is great for using with Ajax-type applications, when it's neccessary to send back the contents of an element to the server without knowing what's there.
Dynamic Timed Redirect
3
Redirect the user to a different Web page after a designated number of seconds, while displaying a countdown in the document title representing the number of seconds left before redirection.
Algorithms
0
This package uses JavaScript to build algorithms: Heap sort, Quick sort, Counting sort and Bucket sort. Usefull scripts for teaching.
Window Print Method
2
Add a button to allow your visitors to print your Web page. Compact and simple, yet highly requested.
Window Close Automatically
1
Many times you just want a popup window to stay open for a few seconds, or a bit longer. Place this snippet in the body tag of the popup window.
Stretch filter
0
Simple IE 5+ Stretch filter.