javascript window top
@March 15, 2008, 1:22 a.m.
top | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a |
Read-only | |
This is an object reference to the browser window. Script statements from inside nested frames can refer to the browser window properties and methods or to variables or functions stored in the document loaded in the topmost position. Do not begin a reference with window.top, just top. To replace a frameset with a new document that occupies the entire browser window, assign a URL to the top.location.href property. |
|
Example | |
top.location.href = "tableOfContents.html"; |
|
Value | |
window object reference. |
|
Default | |
Browser window. |
Permanent URL:
http://javascript.gakaa.com/window-top.aspx
Powered by Linode.