Launching a page to a name reference
Question posted by: Ed Jay
(Guest)
on
June 27th, 2008 07:16 PM
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
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
|
|
June 27th, 2008 07:16 PM
# 2
|
Re: Launching a page to a name reference
On Tue, 17 Jun 2008 10:16:50 -0700, Ed Jay wrote:
Quote:
Originally Posted by
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/
|
|
June 27th, 2008 07:16 PM
# 3
|
Re: Launching a page to a name reference
Ed Jay wrote:
Quote:
Originally Posted by
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.
Quote:
Originally Posted by
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?
|
|
|
June 27th, 2008 07:16 PM
# 4
|
Re: Launching a page to a name reference
Ed Jay scribed:
Quote:
Originally Posted by
>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
|
|
June 27th, 2008 07:16 PM
# 5
|
Re: Launching a page to a name reference
Harlan Messinger scribed:
Quote:
Originally Posted by
>Ed Jay wrote:
Quote:
Originally Posted by
>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.
Quote:
Originally Posted by
>
Quote:
Originally Posted by
>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
|
|
June 27th, 2008 07:16 PM
# 6
|
Re: Launching a page to a name reference
Lance Manyon scribed:
Quote:
Originally Posted by
>On Tue, 17 Jun 2008 10:16:50 -0700, Ed Jay wrote:
>
Quote:
Originally Posted by
>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.
Quote:
Originally Posted by
>
>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
Not the answer you were looking for? Post your question . . .
182,257 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).
|
|
|
Top Community Contributors
|