Anchor point problem

F

Flokke

Hi

I have a page with a link, which when clicked, loads a frameset with three
frames. In one of these frames is another frameset with to pages.
Now I would like, when the first link is clicked, to go to an anchor point
in one of the pages of the second frameset...

Thanks for help.

Flokke
 
R

rf

Flokke said:
Hi

I have a page with a link, which when clicked, loads a frameset with three
frames. In one of these frames is another frameset with to pages.
Now I would like, when the first link is clicked, to go to an anchor point
in one of the pages of the second frameset...

This can not be done. One of the many disadvantages of frames.

Cheers
Richard.
 
H

Hywel Jenkins

Flokke said:
Hi

I have a page with a link, which when clicked, loads a frameset with three
frames. In one of these frames is another frameset with to pages.
Now I would like, when the first link is clicked, to go to an anchor point
in one of the pages of the second frameset...
You could possibly blag it using JavaScript by calling the frameset
with something like
myframe.htm?anchor=MyAnchor

Then, in the document that contains the anchor you want to scroll to
parse location.search to get the required anchor, then do something
like
document.location.href='#' + MyAnchor

I just did a quick test with IE5 and it worked - I don't have any
other browsers to test with at the moment.

Of course, if JS is off, you're screwed.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top