Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves a collection of all the imported style sheets defined for the respective styleSheet object.
Syntax
[ oColl = ] styleSheet. imports |
[ oObject = ] styleSheet .imports( iIndex ) |
Possible Values
oColl | Array of imported style sheets. |
oObject | Reference to an individual item in the array of elements contained by the object. |
iIndex | Required. Integer that specifies the zero-based index of the item to be returned. |
Remarks
An imported style sheet is one that is brought into the document using the cascading style sheets (CSS) @import rule.
Example
This example shows how to display the URL paths of the imported style sheets in the document.
for ( i = 0; i < document.styleSheets.length; i++ )Standards Information
There is no public standard that applies to this collection.
Applies To
|
styleSheet |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |