• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Frame Links

I have a hangover which does not help, I have a 2 frame main page with a tool bar at the top (frame 1) and the pages below (frame 2 ). When I link from the tool bar I can only make that frame (frame 1) change or open a new window. How do you make a link in one frame change the contents of the other ? and the link frame remain the same. Any help would be greatly appretiated.
1 Solution
In your frame code make sure you name the frames...

   <frame src="toolbar.html" name = "toolbar">
   <frame src="content.html" name = "main">

Then use the TARGET value in your links.  E.g. from the toolbar frame you would open a link on the MAIN window thus...

<a href = "content2.html" target = "main">

Hope this helps.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now