Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A toughy, Reading Frames

Status
Not open for further replies.

perlkid

Programmer
Mar 9, 2000
35
US

This one has gotton everyone that has been asked. No one I have ever meet could do this. It seems so easy too, lets see if you know.

What it has to do is this,

Inside of the top frame, named "top" it has to know what the "main" bottom frame's url is at all times. So if you click on a link called remove frame, then it will target to _parent break out of the frame and go to the page you were just on.

I though that document.write("parent.main.location.href"); would work, but get this, it only works if the site in the main frame is also the site in the top frame, it won't read the url to another site. It's returns access denied.

We have been stumped with this tiny problem for a year now, going back at it when ever we can.

If anyone knows how I can do this please let me know how. I need all the help I can get with this one, so please share your thoughts.

Thank You,

perlkid [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top