aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes top.window.frames[0].links[] 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 "top.window.frames[0].links[]" Watch "top.window.frames[0].links[]" New topic
Author

top.window.frames[0].links[]

rajajee
Greenhorn

Joined: Mar 22, 2002
Posts: 4
Dear All;
I have a page that uses frames. First frame contains different links and the second also contains links. I need to write a code in the page that is contained in the first frame that can access the links[] on the second frame.
I need help.
When I try to achieve this by using top.window.frames[1].links[xxx] it gives me an error message that the 'access is denied'.
Any solution for that?
Thanks
Rajajee
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"rajajee",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Have you tried a Google search? I found many many links including this one.
That link talks about access problems with pages all in the same domain, if you are looking at frames containing dtaa from multipe domains, this link is more what you want.
A more generic definition is here.
Dave
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Basic Idea:
If you are using a different page on a different sever, you can not do it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: top.window.frames[0].links[]