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

Target Frame not on same level

Status
Not open for further replies.

mflancour

MIS
Apr 23, 2002
379
US
Hopefully this will be an easy one. I have a TopFrame, LeftFrame, and MiddleFrame. After clicking a link in LeftFrame I want to have a document open in MiddleFrame.

I saw on another post the following, but it did not work so I am guessing they are not on the same level?

>>>>>>>>>>>>
the way to update one single frame :
<a href=&quot;page_name.htm&quot; target=&quot;frame_name&quot;>link</a> this will display page_name.htm in the frame &quot;frame_name&quot; (provided the current frame and frame_name are at the same &quot;level&quot;)
>>>>>>>>>>>>

I have also seen something along the lines of &quot;parent.MiddleFrame.location=&quot;, which I think would work except that I have this code that is currently using &quot;Target=&quot; and I dont know how to change it over. Is it possible to use something like &quot;Target=parent.MiddleFrame&quot;? or is there any other way to use &quot;Target=&quot; to do this?
 
Your problem is probably with frame_name. Frame_name refers to the name you defined in the frameset page and the case must match.

eg: if you called it MIDDLE, you must code target=&quot;MIDDLE&quot; in the link statement.

HTH Clive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top