dLite - Your little JavaScript friend
The dLite JavaScript library offers you the functions you always use, whatever web site you are developing. It contains of rock-solid base functions and then lets you develop specific features. No bulk functionality, guaranteed!
The functions are:
- elm - find element with a certain id
- elmsByClass - find elements with a certain class name
- DOMReady - run functions as soon as the DOM is loaded
- addClass - add a class name
- removeClass - remove a class name
- addEvent - add an event handler
- removeEvent - remove an event handler
- stopDefault - prevents the default behavior of an event
- cancelBubbling - cancels the bubbling of an event