Home | | Web Technology | Additional Properties of Windows

Chapter: Web Technology : Host Objects

Additional Properties of Windows

The window object represents an open window in a browser.

ADDITIONAL PROPERTIES OF WINDOWS

 

Window Object

 

The window object represents an open window in a browser.

 

If a document contain frames (<frame> or <iframe> tags), the browser creates one window object for the HTML document, and one additional window object for each frame.

 

 




Window Object Methods




The Event Object

 

Within an event handler, you can do pretty much anything you want with your script code. Chances are, you'll want to perform some action related to that event depending on one or more factors.

 

Mouse Events

 

Mouse-related events include:

`             click mousedown mouseup mouseover mouseout

 

Handling Events

 

With dozens of different events constantly firing and moving up and down the document tree, the real trick to using event handlers is in figuring out what event to catch, where to attach the handler and how to process it.


Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Web Technology : Host Objects : Additional Properties of Windows |


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.