HtmlItems
A collection of embedded HTML page items.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
HtmlItem add( Layer layer, LocationOptions at, Mixed reference, Object withProperties )
Creates a new HtmlItem
Parameters
Number count()
Displays the number of elements in the HtmlItem.
HtmlItem item( Mixed index )
Returns the HtmlItem with the specified index or name.
Parameters
HtmlItem itemByName( String name )
Returns the HtmlItem with the specified name.
Parameters
HtmlItem itemByID( Number id )
Returns the HtmlItem with the specified ID.
Parameters
HtmlItem itemByRange( Mixed from, Mixed to )
Returns the HtmlItems within the specified range.
Parameters
HtmlItem firstItem()
Returns the first HtmlItem in the collection.
HtmlItem lastItem()
Returns the last HtmlItem in the collection.
HtmlItem middleItem()
Returns the middle HtmlItem in the collection.
HtmlItem previousItem( HtmlItem obj )
Returns the HtmlItem with the index previous to the specified index.
Parameters
HtmlItem nextItem( HtmlItem obj )
Returns the HtmlItem whose index follows the specified HtmlItem in the collection.
Parameters
HtmlItem anyItem()
Returns any HtmlItem in the collection.
HtmlItem everyItem()
Returns every HtmlItem in the collection.
String toSource()
Generates a string which, if executed, will return the HtmlItem.
HtmlItem []( Number index )
Returns the HtmlItem with the specified index.