Using inline frames and bookmarks/hyperlinks

C

Chris53118

I have a web site where the main page has links to news items. These news
items are displayed on an inline frame within the News page so that the
reader can scroll through each item as well as keeping the size and style of
the page consistent with the other pages on the site. What I would like to
try to do is link the news item on the main page directly to the article
headline that is displayed within the inline frame. The inline frame points
to a web page which contains all of the news (strictly text page with no
navigation, headers, footers, etc.), called Company News, and I have
bookmarked each headline on that page which corresponds with the headline on
the main page. However, I am having difficulty opening the News page
containing the inline frame to the specific news headline. I can open the
Company News page and it goes directly to the headline, but the inline frame
does not. I am sure there must be some code that would allow me to hyperlink
to the News page / inline frame / bookmark.........but I do not know what
that would be. About 99% of the web sites that I have done have required no
coding....just using FrontPage features.......so any advice would be
appreciated. Thanks!
 
C

clintonG

Google: "fragment identifiers" to get started and see what you can do with
them. They are also called 'jump tags' and can be thought of as inline
bookmarks although the can be used to target named values in remote pages.
 
C

Chris53118

Thanks for the tip, however I am looking for code samples that would do what
I need......specifically creating a hyperlink to a bookmark that is contained
within an inline frame.
 
M

Murray

Create the hyperlink to the bookmark on the desired page. Target it to the
IFrame.

Have a cold beer.
 
C

Chris53118

I have tried that......the bookmark is on a page that is loaded in the inline
frame of a different page. My Hyperlink on the Main page points to the
bookmark on the Company News Page. My Target is the IFrame name on for the
inline frame on the News Page.......but when I click on the hyperlink, it
takes me to the Company News page.....right to the bookmark. Its as if it is
ignoring that I want the target destination to be the inline frame within my
News Page.
 
C

Chris53118

Murray.......thanks....but I tried that already. I created a hyperlink on
the news headline on the Main Page. The hyperlink pointed to the bookmark on
the Company News Page. I set the target to be the IFrame name of my inline
frame that is on the News Page. However when I click on the Hyperlink, it
goes to the Company News Page (right to the bookmark), but not the News page
that contains the inline frame.
 
M

Murray

Well why didn't you say that it was on a different page? Sheesh! 8)

It can be done. Sorry - I don't know how, and it's not likely I'll learn,
either. I don't like IFrames any more than I like frames....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top