JSSClasses.className (Property)

A JSS object corresponding to a single style class.

Availability:

JavaScript - 1.2
Netscape - 4.0
Deprecated
Property/method value type:JSSTags object
JavaScript syntax:NmyDocument.classes.aClassName
Argument list:aClassNameA named class within the style sheet

This object represents a class within the style sheet. However it is only available in Netscape 4.0 and is a means of access that leads ultimately to a Style object.

This mechanism is radically different to and much more complex than the simple style property belonging to an Element object in MSIE and Netscape 6.0.

From the value in this property, you would traverse the style tree down another level to find a style collection relating to a particular tag.

You cannot enumerate this object to inspect its properties.

This was mainly provided to give access to a style definition in Netscape 4.0 as opposed to the way it is used in MSIE and Netscape 6.0, where it is used to apply a style definition to a styled element within the document.

Warnings: