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.
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.