|
Posted by Erwin Moller on 11/11/05 11:25
Els wrote:
> Erwin Moller wrote:
>
>> brucie wrote:
>>
>>> In post <news:437459df$0$11072$e4fe514c@news.xs4all.nl>,
>>> Erwin Moller said:
>>>
>>>>> http://example.com/example.html#edituser
>>>>> will take you to the <p id="edituser">target</p>
>>>
>>>> I SHOULD, but that isn't working on my setup.
>>>> (IE6, W2000, both suck, i know, but that is my customers
>>>> targetplatform)
>>>
>>> do it the old fashioned way, not use an id.
>>>
>>> <a name="edituser">blah</a>
>>
>> Really Brucie, I tried them all.
>> IE6 just refuses to jump to the right place.
>>
>> I first had the anchortag in a table.
>> I took it out to a boring spot. No succes.
>>
>> I changed name to id. No succes.
>> I tried them both (id and name): No succes.
>>
>> I took out all name/value pairs in the URL: No succes.
>>
>> This looks like a bug to me. :-(
>
> I think it's just because of the querystring in the url
> "?userid=1#edituser"
> It probably parses literally, as in userid is "1#edituser".
> Maybe your script can be changed to do something with that? (no idea
> really)
Well, that was my though too, but I do it like this for ages, and it is also
the official way to do it.
It always worked on all browsers and platforms.
Except now on IE6/W2000, and to make things worse, if I move the <a
name="edituser"> to another spot in the HTML, it works!
So I 'solved' the problem.
I am sure this must be (yet another) bug in IE6.
Personally I would like to target only internetbrowsers, but the company I
develop this app for thinks IE6 is a browser too.
;-)
Anyway, I can work on now, and learned this:
If an #bla is not working in IE, just move the anchortag to another spot in
the code.
Thanks for your time and patience with this abscure bug.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|