Standard Library

Create Library

HTMLElement

To use the HTMLElement object in Internet Explorer you must download the HTMLElement Interface for IE from the JSLab DOM Correction download page.

For more information about HTMLElement in Internet Explorer go to the Element Prototype Extension project page.

Also note that the HTMLElement is only supported in Safari 3 for Mac which mean you must have either OS X Tiger 10.4.11, OS X 10.5.x Leopard or better.

Object members

getNodesByType
Get an array of nodes based on node type.

getPosition
Get the absolute position of an element.

hasScrollbars
Detect whether an element has scrollbars.

insertAfter
Insert a node after another node