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!

Links in Frames

Status
Not open for further replies.

gupps

Technical User
Jun 7, 2004
5
CA
Hi all
I have a perplexing problem on a site that utilizes frames and I am hoping that someone can help me out.
I am working on a site that consists of 3 frames. The top contains the company logo. The one on the left contains the navigation and the center frame displays the webpages. Everything works fine until I call up the one page that has links on it. Once i have clicked on one of the links and displayed another page any attempt at using the menu results in the target page being displayed as a new page outside of the frame structure. The URL is parknflyvancouver.com. Can anyone point out where I am going wrong in the coding?
 
make sure the target of the link is correct

target="framename"

zzzzzz
 
Thank you for your reply but I have checked the syntax for all my links and they are correct. I only have the problem after I have gone to a page which is linked off another and not the menu
 
er, i dont see any menus, what link r u talking bout?

Known is handfull, Unknown is worldfull
 
The menu is in the frame on the left. The link is to web specials. If you click on this and then click on short term reservations and then try and use the menu in the left frame again the linked page will appear as a page on its own outside of any frames
 
gupps...

I just looked the page and it works fine for me on Mozilla, NS 7, and IE 6!

There's always a better way. The fun is trying to find it!
 
Thanks tviman

Did you try clicking on short term reservations and once the form is displayed then clicking on any of the menu items in the left frame? It is at this point that the new page seems to come up in a new window of its own - no frames
 
I think the problem lies in your use of target="_self". What is happening, I think, is that when you click on Web Specials, then on Short Term Reservations, then back on Web Specials, it is opening the page in itself. If you actually targeted the specific frame I don't think you would have the same problem.

There's always a better way. The fun is trying to find it!
 
Thanks again tviman
I have changed the target in all links to be "Main Window"
Also on each page I have inserted <Window-target: "Main Window"> before the </head> tag. Yet once I have clicked on short term reservations any use of the menu results in a loss of frames. This is driving me nuts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top