A collection of functions that you can use as a basis for building your own scripts so that you don't have to start from scratch.
This Form object makes dynamically generating forms using JavaScript fairly simple. Each form field is created by calling the appropriate method and passing a few parameters. Labels are also created and linked to the associated form field.
Query Strings allow you to pass information between pages on the end of the URL. This function will extract the information passed and load it into an array.
While a regular link has to pass any variables to the next page via the querystring, the addition of some simple JavaScript will allow us to post the values instead.
A javascript function that extracts the page address details into a set of easily referenced fields.
A collection of javascript functions that return information about the size and position of the browser window.
There are three different Document Object Models used by the various different web browsers. This code will determine which of the three that a given browser supports and provides a function that you can call to allow your code to work with all three DOMs.
A collection of javascript functions that return information about objects on the web page. If you need to know where an object is, how big it is or whether it is visible then these functions will tell you.
A collection of javascript functions that will move objects about objects on the web page.
You can easily convert any number between 1 and 3999 into roman numerals using this simple function.
This simple script allows you to calculate what coins and notes to use to give someone their change. With the example form you simply enter the amount of change required and it will present a list of how to provide it. Can easily be added into any calculator that needs to process money that involves giving change.
Grouping checkboxes and limiting the number of entries selected in each group using Javascript.
The mathArray class allows you to perform lots of numerical calculations on all of the entries in an array. It should make writing code that involves several numeric arrays and lots of interaction between them much easier.
This function will assist you when you want to break up a piece of text into multiple lines so that it fits within a specified line length. The function inserts extra line breaks between words so as to give the maximum length line that is not longer than your specified maximum and without splitting any words (unless the words are more than one line long).
Perform an action only the first time someone visits your page. This Jacascript sets a cookie to stop the action being performed if they come back to the page during their current browser session.
Many people using browsers other than Internet Explorer set their browser to report itself as IE because of all of the scripts that people use that don't recognise the other browsers as existing let alone being able to run everything IE can and more. This script works out what browser your visitor is really using regardless of what they have set it to report as.