My anchor tag is not going to the anchor

liunx

Guest
This is the link in my html...<br />
<br />
<FORM ACTION="lyrics.html#allthefarms" target="_blank" METHOD=GET><br />
<br />
This is the anchor...<br />
<br />
<I><A NAME="allthefarms">"All</A> The Farms Are Gone"</I><br />
<br />
When I click on the link, it opens a new window but it does not go down to the anchor.<br />
<br />
BTW, see how I have the anchor surrounding the word "all?" Is that necessary? Can you just stick it BEFORE the word or does it have to be attached to something?<br />
<br />
P.S. I also note that the URL in the address window of the new popup page is like this... <br />
<br />
<!-- m --><a class="postlink" href="http://www.mysite.com/lyrics.html?x=12&y=13">http://www.mysite.com/lyrics.html?x=12&y=13</a><!-- m --><br />
<br />
Any idea why that x, y stuff is there? Something to do with a Netscape code provision in my code?<!--content-->you can not navigate internally in a page like that..if all you are trying to do is go to a local anchor inthe page then do not use form action sjust use <br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#alltheforms">All the forms</a><br />
<br />
This assumes that you have another anchor tag somewhere in the page with the name set to alltheforms<!--content-->This is my code...<br />
<br />
<TD align="right" valign="center"><FORM ACTION="lyrics.html#allthefarms" target="_blank" METHOD=GET> <br />
<input border=0 type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"images/radio.gif" ALT="Click me"></FORM></TD><br />
<br />
And then I have an anchor in the lyrics.html page as I showed in the first post. I can't remember why I'm using the FORM but I think it is because I am using the "home made" radio button. It's not really a real radio button but an image of a radio button. I think someone on this forum taught me how to do that... clicking the image that looks like a radio button and it opens a new window. Hey, I just removed... target="_blank" and everything worked fine, it DID scroll down to the anchor... thus, the dillemma is that if I open a new window, it is NOT scrolling.<!--content-->
 
Back
Top