11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

fgColor String containing the font color for the document. (IE3+, MOZ, N2+, DOM0)<br />

fileCreatedDate Read-only string containing the date the document was created.<br />

(IE4+)<br />

fileModifiedDate Read-only string containing the date the document was modified.<br />

(IE4+)<br />

fileSize Read-only number (always an integer value) indicating the file size of the<br />

document in bytes. (IE4+)<br />

forms[] Collection of Forms in the document ( elements). Like other document<br />

collections the individual objects can be manipulated, though the array itself is readonly.<br />

(IE3+, MOZ, N2+, DOM1)<br />

frames[] Collection of Frames in the document ( and elements).<br />

Like other document collections the individual objects can be manipulated, though the<br />

array itself is read-only. (IE4+)<br />

height Read-only property that holds the height in pixels of the document‘s content,<br />

including the parts that might be scrolled offscreen. (MOZ, N4+)<br />

ids[] A Netscape 4–specific collection that is used to access style properties set by an<br />

element‘s id attribute. (NS4 only)<br />

images[] Collection of Images in the document ( elements). Like other<br />

document collections the individual objects can be manipulated, though the array itself<br />

is read-only. (IE4+, MOZ, N3+, DOM1)<br />

implementation Object with method hasFeature(feature, level) that returns a<br />

Boolean indicating if the browser supports the feature given in the string feature at the<br />

DOM level passed in the string level. Valid values for feature are CSS, Events, HTML,<br />

HTMLEvents, MouseEvents, Range, StyleSheets, Views, and XML. Valid values for<br />

level are DOM levels, for example, "1.0" or "<strong>2.0</strong>". <strong>The</strong> values returned by the method<br />

are often inaccurate because of spotty browser support for DOM functionality. (IE6+,<br />

MOZ/N6+, DOM1 Core)<br />

lastModified A read-only string containing the date the document was last modified.<br />

(IE3+, MOZ, N2+, DOM0)<br />

layers[] A Netscape 4–specific collection of Layers in the document (<br />

elements). Note that Netscape also places s having CSS positioning in this array<br />

as well. (NS4 only)<br />

linkColor String containing the color of links in the document. (IE3+, MOZ, N2+,<br />

DOM0)<br />

links[] Collection of Links in the document (... elements). Like other<br />

document collections the individual objects can be manipulated, though the array itself<br />

is read-only. (IE3+, MOZ, N2+, DOM1)<br />

location A Location object containing the URL of the document. Should not be set.<br />

Use window.location instead. (IE2+, N3-4)<br />

media String containing the media for which the document is intended. (IE5.5+)<br />

mimeType A read-only string containing information about the type of the document<br />

(not usually a real MIME type!). (IE5+)<br />

namespaces[] A read-only collection of XML namespace objects for the document.<br />

(IE5.5+)<br />

parentWindow A read-only reference to the Window that contains the document.<br />

(IE4+)<br />

plugins[] Collection of Plugin objects installed in the browser. In Internet Explorer, this<br />

is a synonym for the embeds[] collection. (IE4+, N4+)<br />

protocol String containing the protocol used to retrieve the document (its full name, not<br />

"http"). (IE4+)<br />

referrer A read-only string containing the URL of the referring document. If the page is<br />

directly loaded or not run off the server, referrer will not be set. (IE3+, MOZ, N2+,<br />

DOM1)<br />

scripts[] A read-only collection of script objects in the document ( elements).<br />

Note you may be able to modify scripts and their contents but self-referencing script is<br />

generally not appropriate and should be used with caution. (IE4+)<br />

security A read-only string containing information about the document‘s certificate.<br />

(IE5.5+)<br />

selection A read-only reference to the selection object representing the currently<br />

selected text. (IE4+)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!