window
The window
object is either a browser window or a frame. Many methods of the window
object have been listed in this appendix already. Those are left out of the description of the window
object.
Properties
| FF, IE 4 | Read-only: |
Example:
if (my_window.closed == false) { my_window.location = "http://www.hits.org"; }
This example makes sure the window named my_window
has not been closed before sending a visitor to http://www.hits.org.
| FF, IE 3 | Read-only: Browser's default message in the status area of the window |
| FF, IE 3 | Read-only: |
Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.