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

Launching a page to a name reference

P: n/a
I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera

On Page 1, I have the link <a href="URL#here>Go here</a>.
On Page 2, I have <a name="here"></a>.

Both pages are in the same folder. When I invoke the link on Page 1, I get a
404 error in IE6. If I invoke the link without appending #here, the page
launches correctly. Am I missing something, or is this expected IE
[mis]behavior?
--
Ed Jay (remove 'M' to reply by email)

Win the War Against Breast Cancer.
Knowing the facts could save your life.
http://www.breastthermography.info
Jun 27 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On Tue, 17 Jun 2008 10:16:50 -0700, Ed Jay wrote:
I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera

On Page 1, I have the link <a href="URL#here>Go here</a>.
On Page 2, I have <a name="here"></a>.
Hey Ed. At the W3C page for HTML 4.01, here:
<http://www.w3.org/TR/html401/struct/links.html#h-12.2.3>

it says: "User agents should be able to find anchors created by empty
A elements, but some fail to do so."

That might be the problem.

Otherwise, do you have a URL of the page, so others can read your
code?

Hope you're well,
Ian
--
It is better to have loafed and lost than
never to have loafed at all. (James Thurber)
http://rastallian.blogspot.com/
Jun 27 '08 #2

P: n/a
Ed Jay wrote:
I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera

On Page 1, I have the link <a href="URL#here>Go here</a>.
Try inserting the missing closing double quote.
On Page 2, I have <a name="here"></a>.

Both pages are in the same folder. When I invoke the link on Page 1, I get a
404 error in IE6. If I invoke the link without appending #here, the page
launches correctly. Am I missing something, or is this expected IE
[mis]behavior?
Jun 27 '08 #3

P: n/a
Ed Jay scribed:
>I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera

On Page 1, I have the link <a href="URL#here>Go here</a>.
On Page 2, I have <a name="here"></a>.

Both pages are in the same folder. When I invoke the link on Page 1, I get a
404 error in IE6. If I invoke the link without appending #here, the page
launches correctly. Am I missing something, or is this expected IE
[mis]behavior?
Never mind...this appears to happen only if the files are hosted locally on
my drive. Works fine if the pages are on the server.

--
Ed Jay (remove 'M' to reply by email)

Win the War Against Breast Cancer.
Knowing the facts could save your life.
http://www.breastthermography.info
Jun 27 '08 #4

P: n/a
Harlan Messinger scribed:
>Ed Jay wrote:
>I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera

On Page 1, I have the link <a href="URL#here>Go here</a>.

Try inserting the missing closing double quote.
It's there, but not in my post. :-) Thanks.
>
>On Page 2, I have <a name="here"></a>.

Both pages are in the same folder. When I invoke the link on Page 1, I get a
404 error in IE6. If I invoke the link without appending #here, the page
launches correctly. Am I missing something, or is this expected IE
[mis]behavior?
--
Ed Jay (remove 'M' to reply by email)

Win the War Against Breast Cancer.
Knowing the facts could save your life.
http://www.breastthermography.info
Jun 27 '08 #5

P: n/a
Lance Manyon scribed:
>On Tue, 17 Jun 2008 10:16:50 -0700, Ed Jay wrote:
>I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera

On Page 1, I have the link <a href="URL#here>Go here</a>.
On Page 2, I have <a name="here"></a>.

Hey Ed. At the W3C page for HTML 4.01, here:
<http://www.w3.org/TR/html401/struct/links.html#h-12.2.3>

it says: "User agents should be able to find anchors created by empty
A elements, but some fail to do so."

That might be the problem.
For some reason, which I'll not pursue, it works on the host, but not on the
local host.
>
Otherwise, do you have a URL of the page, so others can read your
code?

Hope you're well,
Ian
Thanks, I am...and hope you are as well.

--
Ed Jay (remove 'M' to reply by email)

Win the War Against Breast Cancer.
Knowing the facts could save your life.
http://www.breastthermography.info
Jun 27 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.