You are here: Re: IE is not jumping to hash #someanchor in URL « HTML « IT news, forums, messages
Re: IE is not jumping to hash #someanchor in URL

Posted by Erwin Moller on 11/11/05 16:16

Dylan Parry wrote:

> Trapped in the departure lounge at alt.html, Jonathan N. Little got
> bored and wrote:
>
>> No, I bet it is your code
>
> Not necessarily. How big is the offending page? It might be that IE is
> attempting to jump to the location before the page has finished loads;
> finding that the specified location doesn't exist, and then sitting at
> the top of the page like an eejit :\
>

Hi Dylan,

What you describe seems very close to my situation. :-)
The page is rather big and the anchor is placed excactly before a rather big
table.
I noticed that if I place the anchor INSIDE the table, things work as
expected.
If I place it BEFORE the table, it is not working.

It looks like IE want to jump to the right location, but it did not finish
loading the page, the somehow 'forgets' to make the jump.

Another thing I noticed: If I enable output buffering, all works as it
should.

// start of script:
ob_start();

// script

ob_end_flush();


Rather curious. :-/

Anyway, I can work around the issue by using output buffering.

Thanks for your response!

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация