15.02.2013 Views

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Chapter 11: Table and List Objects (Chapter 27) . . . . . . . . . . . . 381<br />

<strong>Examples</strong> Highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382<br />

TABLE Element Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382<br />

Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390<br />

TBODY, TFOOT, and THEAD Element Objects . . . . . . . . . . . . . . . . . . 390<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390<br />

COL and COLGROUP Element Objects . . . . . . . . . . . . . . . . . . . . . . 391<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391<br />

TR Element Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391<br />

TD and TH Element Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392<br />

OL Element Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394<br />

UL Element Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395<br />

LI Element Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395<br />

Chapter 12: Navigator and Other Environment Objects<br />

(Chapter 28) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397<br />

<strong>Examples</strong> Highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398<br />

clientInformation Object (IE4+) and navigator Object (All) . . . . . . . . . . 398<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398<br />

Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405<br />

screen Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407<br />

userProfile Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407<br />

Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407<br />

Chapter 13: Event Objects (Chapter 29) . . . . . . . . . . . . . . . . . 409<br />

<strong>Examples</strong> Highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410<br />

NN4 event Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410<br />

IE4+ event Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413<br />

NN6+ event Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423<br />

Chapter 14: Style Sheet Objects (Chapter 30) . . . . . . . . . . . . . 435<br />

<strong>Examples</strong> Highlights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435<br />

styleSheet Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436<br />

Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438<br />

cssRule and rule Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440<br />

Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440

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

Saved successfully!

Ooh no, something went wrong!