aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes what does 'top' means? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "what does Watch "what does New topic
Author

what does 'top' means?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
If we are calling any JS function with 'top' reference in any JSP file.

For example: top.doSomething()

What are the possible scenario:

One is,
This JSP is included in other JSP. So function of including JSP will be called.

What about others?

What other direct reference availabe like this, top etc.

Thanks.
[ June 13, 2006: Message edited by: rathi ji ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
top deals with the uppermost reference of the document tree wirh frames. http://www.quirksmode.org/js/frameintro.html

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

It has nothing to do with JSP or JSP included files.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by Bear Bibeault:
It has nothing to do with JSP or JSP included files.


Thanks Eric and Bear.
It was superb link.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what does 'top' means?