Javascript Reference
Categories: window

javascript window top

@March 15, 2008, 1:22 a.m.
topFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a  


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, 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.

top.location.href = "tableOfContents.html";

window object reference.


Browser window.

Powered by Linode.