By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,334 Members | 1,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,334 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
4 Replies

P: n/a

"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

P: n/a
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

P: n/a
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

P: n/a
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.