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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

location.replace

Status
Not open for further replies.

Femmy

Programmer
Mar 23, 2001
1
GB
Hello,
I am using location.replace to dynamically load URLs into a frame from another frame. This seems to work until it comes to load the 4th URL, then it tries to launch a new window and fails. Has anyone exprienced the same problem or suggest a solution please?

Cheers,
Femmy.
 
Give a little more info about what you are trying to do. By "frame" do you literally mean a frame within a frameset? Also, what do you mean by the 4th URL? Give us a snippet of your script or something.

To change the location of a frame from another frame (i.e. a script in the left-hand nav frame changes the location of the right-hand frame), use something like this:
Code:
parent.frames[1].location = "myPage.html";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top