WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

MediaList

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

readonly int length

String mediaText

The nsIDOMMediaList interface is a datatype for a list of media types in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style


Methods

void appendMedium ( String newMedium ) void deleteMedium ( String oldMedium ) String item ( int index )

void appendMedium ( String newMedium )

Arguments:
newMedium

void deleteMedium ( String oldMedium )

Arguments:
oldMedium

String item ( int index )

Arguments:
index

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com