ulNN 6 IE 4 DOM 1  

  

The ul object reflects the ul element.

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

None.

 
Object-Specific Event Handler Properties

None.

compactNN 6 IE 4 DOM 1  

Read/Write  

When set to true, the compact property should instruct the browser to render items in the list in a more compact format. This property has no effect in mainstream browsers.

 
Example
 
document.getElementById("myUL").compact = true;
 
Value

Boolean value: true | false.

 
Default

false

typeNN 6 IE 4 DOM 1  

Read/Write  

Specifies the manner in which the leading item markers in the list are displayed.

 
Example
 
document.getElementById("myUL").type = "square";
 
Value

Any one of the constant values (as a string): circle | disc | square. Additional choices available through style sheets

 
Default

disc