please dont rip this site

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next

 


Window.top Property

Name

Window.top Property---the window of a frame

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

window.top

Description

The top property is a read-only reference to the Window object that is the top-level window that contains window. If window is a top-level window itself, then the top property simply contains a reference to window. If window is a frame, then the top property contains a reference to the top-level window that contains the frame. Note that the top property refers to a top-level window even if window refers to a frame contained within another frame (which may itself be contained within a frame, and so on). Compare this with the Window.parent property.

Usage

Certain operations, such as setting the status and defaultStatus properties only are useful when performed on a top-level window. When JavaScript code running in a frame needs to operate on its top-level window, it can use the top property. For example, it could display a message in the message line as follows:

top.defaultStatus = 'Welcome to my Home Page!';

See Also

"Window", "Window.parent"


Previous Home Next
Window.sun Book Index Window.window


HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell

file: /Techref/language/java/script/definitive/refp_463.htm, 5KB, , updated: 2019/10/14 16:00, local time: 2024/4/29 08:04,
TOP NEW HELP FIND: 
3.135.183.1:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/language/java/script/definitive/refp_463.htm"> [Chapter 21] Reference: Window.top</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .