Code Share

Background

These JavaScript functions are freely available to anybody who wishes to use all or part of their functionality. The aim is to create a simple cross-browser library for performing common tasks. It's still a work in progress!

Library

DOM
A few functions that make working with the DOM a much more enjoyable experience.
Event
A cross-browser implementation of addEvent and removeEvent.
Dimension
Convenience functions for determining the size of an element, the current mouse position, and more.

Widgets

Tooltips
One line of code to add your own configurable tooltips to every element with a title attribute.