472,110 Members | 2,256 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

Anchor Tag with #Name Moves Entire Window Up to X Coordinate

Greetings:

I have numerous links on index.html...example of one.....
<A HREF="stage.html#Flash" target="left">Flash</A>

It connects to page named stage.html ... which contains...
<a name="#FLASH">Flash ...</a></td>

It presents the data in the middle of index in an Inline frame. It
works real well, looks good, but everytime the link is clicked, the
entire index page shifts up to the top, h just shifts index.html up,
The staging area at the very top of the screen. It's kind of a picky
thing, but it bugs me because the links are right next to the stage
window.

*Top of Screen*
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### iframe ####Link#########
####Link######### stage ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########

Thanks in advance,

Cat
Jul 23 '05 #1
4 4973

"catyionic" <ca******@yahoo.com> wrote in message
news:11**************************@posting.google.c om...
Greetings:

I have numerous links on index.html...example of one.....
<A HREF="stage.html#Flash" target="left">Flash</A>

It connects to page named stage.html ... which contains...
<a name="#FLASH">Flash ...</a></td>
That shouldn't work for two reasons:

1. Matches between a fragment identifier and an anchor name or ID are
supposed to be case-sensitive. FLASH <> Flash

2. The # is a delimiter between the principle resource and the fragment, not
part of the name of the fragment. It doesn't belong in the anchor's NAME
attribute.

What is "left"?

It presents the data in the middle of index in an Inline frame. It
works real well, looks good, but everytime the link is clicked, the
entire index page shifts up to the top, h just shifts index.html up,
Me no understand "h just shifts index.html up" or "The staging area at the
very top of the screen". Please use complete sentences. :-)
The staging area at the very top of the screen. It's kind of a picky
thing, but it bugs me because the links are right next to the stage
window.

*Top of Screen*
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### iframe ####Link#########
####Link######### stage ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########


Jul 23 '05 #2
Ok, you're supposed to understand what I mean, not what I type... :)

So I matched the cases on #FLASH match for proper syntax. Thanks.

Look at this page...http://i.domaindlx.com/catmcfarland ** don't
laugh, it's not done **
Scroll down the page so the artistic and scientific graphics are fully
displayed....
Click on link called HTML...
The index.html page repositions itself up about 150 pixels.

It is only on the first click of the link, but it is annoying. Does
the #name anchor always jerk you around and do a reposition like #top.
I don't want it to go to the top.

Thanks in advance. Cat

"Harlan Messinger" <h.*********@comcast.net> wrote in message news:<2p************@uni-berlin.de>...
"catyionic" <ca******@yahoo.com> wrote in message
news:11**************************@posting.google.c om...
Greetings:

I have numerous links on index.html...example of one.....
<A HREF="stage.html#Flash" target="left">Flash</A>

It connects to page named stage.html ... which contains...
<a name="#FLASH">Flash ...</a></td>


That shouldn't work for two reasons:

1. Matches between a fragment identifier and an anchor name or ID are
supposed to be case-sensitive. FLASH <> Flash

2. The # is a delimiter between the principle resource and the fragment, not
part of the name of the fragment. It doesn't belong in the anchor's NAME
attribute.

What is "left"?

It presents the data in the middle of index in an Inline frame. It
works real well, looks good, but everytime the link is clicked, the
entire index page shifts up to the top, h just shifts index.html up,


Me no understand "h just shifts index.html up" or "The staging area at the
very top of the screen". Please use complete sentences. :-)
The staging area at the very top of the screen. It's kind of a picky
thing, but it bugs me because the links are right next to the stage
window.

*Top of Screen*
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### iframe ####Link#########
####Link######### stage ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########

Jul 23 '05 #3
Oh, forgot something...

"left" is the name of target frame...

Harlan Messinger" <h.*********@comcast.net> wrote in message news:<2p************@uni-berlin.de>...
"catyionic" <ca******@yahoo.com> wrote in message
news:11**************************@posting.google.c om...
Greetings:

I have numerous links on index.html...example of one.....
<A HREF="stage.html#Flash" target="left">Flash</A>

It connects to page named stage.html ... which contains...
<a name="#FLASH">Flash ...</a></td>


That shouldn't work for two reasons:

1. Matches between a fragment identifier and an anchor name or ID are
supposed to be case-sensitive. FLASH <> Flash

2. The # is a delimiter between the principle resource and the fragment, not
part of the name of the fragment. It doesn't belong in the anchor's NAME
attribute.

What is "left"?

It presents the data in the middle of index in an Inline frame. It
works real well, looks good, but everytime the link is clicked, the
entire index page shifts up to the top, h just shifts index.html up,


Me no understand "h just shifts index.html up" or "The staging area at the
very top of the screen". Please use complete sentences. :-)
The staging area at the very top of the screen. It's kind of a picky
thing, but it bugs me because the links are right next to the stage
window.

*Top of Screen*
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########
####Link######### iframe ####Link#########
####Link######### stage ####Link#########
####Link######### ####Link#########
####Link######### ####Link#########

Jul 23 '05 #4
Ok, I solved this. Thanks for your thoughts.

I put the code in question on a separate page and it doesn't jump up
on first click of the link. So I removed the table underneath it, and
it works fine, so there is something in there that is wreaking it.

Cat
Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Randy Webb | last post: by
3 posts views Thread by Bjorn Nordbo | last post: by
3 posts views Thread by Joseph Gruber | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.