15.02.2013 Views

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

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.

322<br />

IMG.height<br />

<strong>JavaScript</strong> <strong>Examples</strong> <strong>Bible</strong>: The Essential Companion to <strong>JavaScript</strong> <strong>Bible</strong><br />

Listing 22-3 (continued)<br />

Video<br />

Play video how many times after loading:<br />

<br />

Once<br />

Twice<br />

Continuously<br />

<br />

<br />

<br />

<br />

<br />

<br />

If you don’t explicitly set the start property to fileopen (as shown in Listing<br />

22-3), users of IE for the Macintosh have to double-click (IE4) or click (IE5) the<br />

movie image to make it run.<br />

fileCreatedDate<br />

fileModifiedDate<br />

fileSize<br />

NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5<br />

Compatibility ✓ ✓ ✓<br />

Example<br />

These properties are similar to the same-named properties of the document<br />

object. You can see these properties in action in Listing 18-4. Make a copy of that<br />

listing, and supply an image before modifying the references from the document<br />

object to the image object to see how these properties work with the IMG element<br />

object.<br />

height<br />

width<br />

NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5<br />

Compatibility ✓ ✓ ✓ ✓ ✓ ✓

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

Saved successfully!

Ooh no, something went wrong!