dirNN 6 IE 4 DOM 1  

  

The dir object reflects the dir element. This element, originally intended as a multicolumn list format, is treated the same as the ul element.

 
HTML Equivalent
 
<dir>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
 
Object-Specific Properties

compact

 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties

None.

compactNN 6 IE 5(Mac)/6(Win) DOM 1  

Read/Write  

Provided for this element for the sake of compatibility with the W3C DOM standard. However, mainstream browsers do not act upon this property or its corresponding attribute.

 
Value

Boolean value: true | false.

 
Default

false