Forum Moderators: open

Message Too Old, No Replies

Anchor tag within a frame

Link to a point in the same page type

         

BMach

2:20 am on Mar 23, 2004 (gmt 0)

10+ Year Member



I have a links page within an iframe and am trying to create an alphabet quick link to that section of the page. The only problem is that it moves the _parent window as well. I just want the iframe page to move. Here's the code I have. Any suggestions.

<a href="#a">A</a>

<a name="a">A</a><br>

Purple Martin

2:36 am on Mar 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yesterday I encountered a problem with an anchor named "a" - there was a conflict with a JavaScript object with the same name :-S

So make sure there are no name conflicts between your parent page and your iframe page.

neo_brown

4:49 pm on Mar 23, 2004 (gmt 0)

10+ Year Member



I have not played with Iframes for a while but dont you need to specify a target?
I believe you use the frame name rather than the method you would use with standard frames.