Common Window Object Properties
innerHeight - gets or sets the inner height of the actual content area
innerWidth - gets or sets the inner width of the actual content area
navigator - we discuss this in the Navigator Object tutorial
outerHeight - gets or sets the outer height of a window (This includes tabs, toolbars, and scrollbars)
outerWidth - gets or sets the outer width of a window (This includes tabs, toolbars, and scrollbars)
Common Window Object Methods
alert() - shows an annoying alert box (Please never use this)
print() - prints the window's contents (Many users don't know how to print a web page. Make it easy for them.)
scrollTo() - scrolls to specified x and y coordinates
Timers are a method of the window object. They can be very tricky, but often very useful when dealing with a variety of issues. While a good amount of timers are used correctly, JQuery's animate can often do your job much more efficiently. Please be sure to check out a few of JQuery's functions before using timers.
Your code will execute in this window.
Let's explore some more tutorials or topics!
No comments yet... Be the first!