Forum Moderators: open
I'm having a problem with anchors on a page that is loaded within an iframe. When I click on the links referring to the anchors, the whole frame in which the iframe is embedded moves up in stead of only the specific page where the anchors are.
I've been searching this forum for an answer, but nothing so far.
You can have a look here to see what happens:
<snip>
It is a dutch site about wines. The blue part on the right of the page ('selectie') contains the iframe I'm talking about. Click on the links 'recepten', 'kaasadvies' or 'afdrukken' to see what I mean. The page containing the anchors is this one:
<snip>
If you have any ideas how to resolve this, please let me know! (tedster, you know how to get around this? ;-) )
Thanks in advance,
[edited by: korkus2000 at 2:14 pm (utc) on Oct. 7, 2003]
[edit reason] No sigs or code reviews please [/edit]
Keep everything on the page on which the iframe is within the page dimensions: make sure the page fits into the browser window and hangs no lower. If the scroll bar on the browser is not invoked due to things falling below the browser window, the iframe will scroll appropriately.
J.