• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Appendix C. DHTML Quick Reference

Appendix C. DHTML Quick Reference

Chapter 11 presents the most common event handlers that you will use regularly to construct your DHTML (see "Understanding Event Handlers"), and Chapter 12 details all the information about your Webbed environment that you can learn and change. The tables in this appendix present that information in a form that you can read quickly.

Table C.1. Common Event Handlers
Name When It Happens Applies To
onLoad After an object is loaded Documents and images
onUnload After the object is no longer loaded Documents and images
onFocus When an element is selected Documents and forms
onBlur When an element is deselected Documents and forms
onMouseOver When the mouse pointer passes over an area All[1]
onMouseOut When the mouse pointer passes out of an area All[1]
onClick When the mouse button is clicked over an area All[1]
onMouseDown While the mouse button is pressed All[1]
onMouseUp When the mouse button is released All[1]
onMouseMove As the mouse is moved Document
onKeyDown While a keyboard key is pressed Forms and Document
onKeyUp When a keyboard key is released Forms and Document
onKeyPress When a keyboard key is pressed and immediately released Forms and Document
onResize[2] When the browser window or a frame is resized Document
onMove[3] When the browser window is moved Document


[1] Available only for anchor links and images in Netscape 4

[2] Not supported by Internet Explorer 4

[3] Not supported by Internet Explorer 4/5 or by Netscape 6


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint