Difference between revisions of "JavaScript Window Object"

From Techotopia
Jump to: navigation, search
(New page: The JavaScript ''window object'' sits at the top of the JavaScript Object hierarchy and represents the browser window (or windows if you have more than one browser window open at any one t...)
 
Line 1: Line 1:
The JavaScript ''window object'' sits at the top of the JavaScript Object hierarchy and represents the browser window (or windows if you have more than one browser window open at any one time). Up until this chapter we have focused on the internals and syntax of JavaScript. In this chapter we will being to make things happen on the screen (which, afterall, is one of the main purposes of JavaScript). The window object allows developers to perform tasks such as opening and closing browser windows, displaying alert and prompt dialogs and set up timeouts (specifying an action to take place are a specified period of time).
+
The JavaScript ''window object'' sits at the top of the JavaScript Object hierarchy and represents the browser window (or windows if you have more than one browser window open at any one time). Up until this chapter we have focused on the internals and syntax of JavaScript. In this chapter we will begin to make things happen on the screen (which, after all, is one of the main purposes of JavaScript). The window object allows developers to perform tasks such as opening and closing browser windows, displaying alert and prompt dialogs and set up timeouts (specifying an action to take place after a specified period of time).
  
 
== Referencing the JavaScript Window Object ==
 
== Referencing the JavaScript Window Object ==

Revision as of 14:45, 9 May 2007

The JavaScript window object sits at the top of the JavaScript Object hierarchy and represents the browser window (or windows if you have more than one browser window open at any one time). Up until this chapter we have focused on the internals and syntax of JavaScript. In this chapter we will begin to make things happen on the screen (which, after all, is one of the main purposes of JavaScript). The window object allows developers to perform tasks such as opening and closing browser windows, displaying alert and prompt dialogs and set up timeouts (specifying an action to take place after a specified period of time).

Referencing the JavaScript Window Object