...

View Full Version : Linking w/IFRAME



olimar
04-15-2005, 10:18 PM
When linking inside an iframe,

for example :
<a href="#anchor_1">Click here to go to anchor one.</a>
<a name="anchor_1"></a>
ANCHOR ONE
BLAH, BLAH, BLAH

anchor_1 "jumps" to the top of the iframe window as well as the parent window containing the iframe.

Is there any way to only have it jump to the top of the iframe and not affect the parent window?

This probably should go in the HTML section, but I think I'll have to use JavaScript in order to answer my question.

Kor
04-18-2005, 10:20 AM
as well as the parent window containing the iframe.


Normally it should not do that. If so, that means either:
- you have an anchor with the same name in parent, which is not correct
or
- you have no anchor with this name, so that automatically the page is scrolled up.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum