JSSClasses object (Object/JSS)

A collection of JavaScript Style Sheet classes.

Availability:

JavaScript - 1.2
Netscape - 4.0
Deprecated
JavaScript syntax:NmyJSSClasses = myDocument.classes
Object properties:className

This style sheet control mechanism is becoming deprecated as it is only supported on Netscape 4.0 and will not be ratified by a W3C standard. It is not recommended that you use these facilities in new projects.

This object is somewhat like an array in that it contains a collection of objects that can be accessed associatively by name. However, unlike an array, it does not respond to the length property request. Also unlike an array, you cannot access its members using index values.

The only meaningful property of this object is one of its array elements corresponding to a named class in the style sheet. That property is also associated with a named CLASS="..." attribute of an HTML tag in the document.

You cannot enumerate this object to inspect its properties.

Warnings:

See also:Document.classes[]

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
className1.2 1.2 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a n/aWarning , Deprecated

Property attributes:

DontEnum.