JavaScript Library

These are bits of code I wrote that I find I am often searching for to re-use. So this is really for my own reference, but maybe you will find them handy too.

Box-Muller Transform

This is a simple and fast way to generate random numbers with a normal distribution (bell-curve).

AJAX Object

Also called the XML http request object. If you are not sure what this means, read my AJAX Basics page (once it is live).

Query String Parser

Plain HTML can be quite powerful once you master the querystring my son. Though it does require a little help from JavaScript.

Cookie Parser

It's a lot like the query string parser.

Select Box Selector

Assigning a value to a select box is not as easy as a text box. Unless you use this function.

Select Option Creator/Destroyer

The core of any dyanmic select box code.

Mouse Tracking And Keyboard Listening

Both use the W3C complaint method of assigning event handlers.