Cross-browser scrolling tbody

DOM level 2 Attributes
Internet Explorer 6 = MSIE 6 for windows Netscape 6.2 or higher = Netscape 6.2 or higher Opera 7 or higher = Opera 7 or higher
Attribute General syntax and example Description and/or explanation Support
attributes x.attributes.item(1)
x.attributes["align"]
Returns in a NamedNodeMap object a collection of all possible attributes of node x in no particular order. Returns the 2nd attribute object of node x. Returns the attribute node align from node x. Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
captionx.caption
Gets the caption object of node x which must be a table element.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
cellsx.cellsReturns an HTMLCollection of all <td> nodes of node x which must be a table rowInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
cellIndexx.cellIndexReturns the index (in the row) of node x which must be a <td> or a <th> The index of this cell in the row, starting from 0. This index is in document tree order and not display order.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
cellPaddingx.cellPadding
x.cellPadding = "6"
Gets or sets the cellpadding attribute of a node which must be a table.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
cellSpacingx.cellSpacing
x.cellSpacing = "6"
Gets or sets the cellspacing attribute of a node which must be a table. The rules attribute must not be defined and border-collapse:separate must be the actual declarationInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
childNodesx.childNodes[4]Returns a NodeList object that contains all children of such node. Returns the 5th node of node x.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
classNamex.className
x.className="newClassName"
Gets or sets the class attribute of element x.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
datax.data
x.data="new text"
Gets or set the character data of node x that implements the CharacterData interface. Equivalent to nodeValue only if the node is of type TEXT_NODEInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
documentElementx = document.documentElement.scrollHeightThis is a convenience attribute that allows direct access to the child node that is the root element of the document. For HTML documents, this is the element with the tagName "HTML".Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
doctypedocument.doctype.systemIdThe Document Type Declaration (DTD) associated with a document. The doctype declaration is in the prologue of the document.Netscape 6.2 or higher
Opera 7 or higher
firstChildx.firstChildThe first child of node x.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
framex.frame
x.frame = "above"
Gets or sets the external table borders to render. Possible values: void, box, border, above, below, hsides (horizontal sides), lhs (left hand side), rhs (right hand side), vsides (vertical sides).Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
idx.id
x.id="newIdValue"
Gets or set the id attribute value of the HTML elementInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
implementationdocument.implementationThe DOMImplementation object that handles the documentInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
lastChildx.lastChildThe last child of node x.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
namex.nameGets or sets the name value attribute of node x.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
nextSiblingx.nextSiblingThe node immediately following node xInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
nodeNamex.nodeNameThe name of node x, depending on its type. If node x is of type TEXT_NODE, then the nodeName returns #text otherwise it returns the name of the HTML element or the name of the attribute.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
nodeTypex.nodeType1 is an HTML element
2 is an attribute
3 is a text node
One convenient way to avoid memorizing these numbers is to use constants such as ELEMENT_NODE, ATTRIBUTE_NODE and TEXT_NODE. Only Mozilla supports these constants.
Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
nodeValuex.nodeValue
x.nodeValue
x.nodeValue = "New value"
Gets or sets the value of node x, depending on its typeInternet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
offsetParentx.offsetParentThe offsetParent is the parent node acting as the positioning parent of node x. Often it is the closest (in the document hierarchy) absolutely positioned containing block of a node. This is a DHTML object model property and is very useful for defining offsetLeft, offsetTop DHTML properties of elements.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher
ownerDocumentx.ownerDocumentThe Document object associated with node x. This is also the Document object used to create new nodes.Internet Explorer 6
Netscape 6.2 or higher
Opera 7 or higher

Valid HTML 4.01! CSS compliant Web standards project

© Gérard Talbot   |   Site map