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.

location property, 238–240<br />

methods, 243–256<br />

onMouseOver event handler, 247<br />

onStop event handler, 256–257<br />

open() method, 252<br />

parentWindow property, 240<br />

properties, 224–243<br />

protocol property, 240<br />

queryCommand() methods, 252<br />

recalc() method, 253<br />

referrer property, 224, 240–241<br />

role, 223<br />

scripts property, 242<br />

selection property, 242<br />

URL property, 238–240<br />

vlinkColor property, 225–227<br />

width property, 234–235<br />

write() method, 253–256<br />

writeIn() method, 253–256<br />

document property<br />

compatibility, 21<br />

example, 22<br />

popup object, 201<br />

Document property, 191<br />

documentElement property, 231<br />

documents<br />

color, changing, 227<br />

current, extracting directory of, 212<br />

framesets, 146<br />

loading, into layers, 462–463<br />

doReadRequest() method, 408<br />

doScroll() method, 262<br />

duplicate() method, 303–304<br />

dynamic properties<br />

clock controlled by, 94<br />

listing, 92–93<br />

E<br />

elementFromPoint() method<br />

compatibility, 247<br />

example, 247–249<br />

using, 248–249<br />

elements property<br />

compatibility, 336<br />

example, 336–338<br />

using, 337<br />

empty() method, 293<br />

enableExternalCapture() method, 159<br />

encoding property, 338<br />

enctype property, 338<br />

endContainer/startContainer properties, 277–278<br />

endOffset/startOffset properties, 278<br />

Index ✦ D–E<br />

event handlers<br />

assigning, to element objects, 2<br />

BODY element object, 262–263<br />

BUTTON element object, 346<br />

checkbox input object, 349–352<br />

document object, 256–257<br />

dragging/dropping control, 2<br />

form object, 341–342<br />

generic, 95–126<br />

information management, 2<br />

onAbort, 329<br />

onActivate, 95–96<br />

onAfterPrint, 188<br />

onBeforeCopy, 96–97<br />

onBeforeCut, 97<br />

onBeforeDeactivate, 95–96<br />

onBeforeEditFocus, 97–98<br />

onBeforePaste, 98, 121–123<br />

onBeforePrint, 188<br />

onBeforeUnload, 188–189<br />

onBlur, 98–99, 365–366<br />

onChange, 367–368, 377–378<br />

onClick, 66, 81, 99–100, 346, 349–352, 355–356<br />

onContextMenu, 100–101<br />

onCopy, 101–102<br />

onCut, 101–102<br />

onDblClick, 100, 103<br />

onDeactivate, 95–96<br />

onDrag, 103–107<br />

onDragEnd, 106<br />

onDragEnter, 107<br />

onDragLeave, 107<br />

onDragOver, 108<br />

onDragStart, 103, 108<br />

onDrop, 108<br />

onError, 329<br />

onFilterChange, 108–109<br />

onFocus, 99, 110, 365–366<br />

onHelp, 110–111, 189<br />

onKeyDown, 111–114<br />

onKeyPress, 111–114<br />

onKeyUp, 111–114<br />

onLoad, 33, 330–331<br />

onLoseCapture, 115<br />

onMouseDown, 63, 115–117<br />

onMouseEnter, 117<br />

onMouseLeave, 117<br />

onMouseMove, 117–119<br />

onMouseOut, 120–121<br />

onMouseOver, 120–121<br />

onMouseUp, 115–117<br />

Continued<br />

503

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

Saved successfully!

Ooh no, something went wrong!