pages | NN n/a IE 5.5(Win) DOM n/a |
Provides an array of page objects (@page rules) nested within a styleSheet object. |
|
Object Model Reference | |
[window.]document.styleSheets.pages |
|
Object-Specific Properties | |
length |
|
Object-Specific Methods | |
item( ) |
|
Object-Specific Event Handler Properties | |
None. |
length | NN n/a IE 5.5(Win) DOM 2 |
Read-only | |
Returns the number of objects in the collection. |
|
Example | |
var howMany = document.styleSheets.pages.length; |
|
Value | |
Integer. |
item( ) | NN n/a IE 5.5(Win) DOM 2 |
item(index) | |
Returns a single object corresponding to the element matching the index value. |
|
Parameters | |
|
|
Returned Value | |
Reference to a page object. If there are no matches to the parameters, the returned value is null. |