Hello,

I'm building a website with frames, and I'm having trouble targeting links in the menu frame to the main frame (where I'd like the link to show up). I haven't done this in awhile, so maybe my code is out of date.

Here's what I've been doing:

In the frames code, I put <frame src="http://..." name="main">

In the menu code, I put <a href="http://..." target="main">

I find that when I click on links in the menu frame, they ACTUALLY show up in the target frame about 5% of the time.

Can anyone tell me what I'm doing wrong?

Thanks so much,
Jenni

when they dont show up in the target frame, are they

  • links to other sites or yours other sites likely have a framebreaker in their code to prevent using their page in framesetssolution is permission from the site owner to display their pages, framebreak can be customized to allow the page to display framed in certain sites, or,
    write your own similar content
  • opening fullscreeen or opening in the menu frame, if opening fullscreen, there is again likely a framebreak, if opening in the menu frame there is likely a texterror in 'name'
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.