homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

targeting anchor in new frameset
using html to target named anchor in another frameset

 3:37 pm on Nov 26, 2008 (gmt 0)


I hope someone can help.
I would like to know how to target a named anchor in another frameset - I need to be able to load a new frameset of 2 frames where one of the frames contains content scrolled to a specific anchor point.

I have an index page (index.html) with several links to anchors on other pages within the site.
Those pages must each load as part of a standard frameset.
The standard frameset is currently made up of 'fr_top' (a fixed navigation menu - "fr_top.html") and 'fr_main' (a scrollable content area - "other_pages.html").

Any guidance would be much appreciated.



 9:31 pm on Nov 26, 2008 (gmt 0)

I think you should be able to do it by just adding the anchor to the URL: other_pages.html#myTarget


 7:13 am on Nov 27, 2008 (gmt 0)

Hi Garann. Thanks for your input.
I understand how to link to a target in a frame but I need to always load the content page into a frame in a parent frame_set that includes fr_top.html (fr_top).

I am not sure if its a javascript thing or can be done with html alone, but I have these two approaches:
1.The coding required has to be on the index.html page (in the HEAD or in the URL) instructing all links to open into a parent frameset that includes fr_top.html and the linked content in the other frame.
2. the content pages themselves contain the coding in the HEAD that will automatically make them open into a frame within a parent frameset that includes fr_top.html.

Any ideas?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved