Firefox refresh makes PHP page "jump" to the top - problem with dynamic content? (not IE)

I am writing a dynamic website that uses PHP/Mysql to load content, yadda yadda. That part is moot.

When I'm viewing my site in firefox, if I scroll halfway down and click refresh, it jumps to the top of the page. This doesn't happen in IE on the same page. Is this some kind of problem with dynamic navigation bars influenced by PHP?

An example is on this site (not mine) scroll down some and click refresh in FireFox:
teamliquid.net

What, in general, causes this to happen? How to large sites like HP.com that are heavy dynamic content stop this from happening?

Thanks!!
acidgoldAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TomeeboyCommented:
Hi acidgold,

Not entirely sure what would cause this problem, but I don't think that custom scrollbars would do it.  Perhaps it is a result of having some type of onload() javascript that is executing when the page loads... I noticed that the example page you gave uses onload() several times.  If you're really wanting to find out exactly what is causing the problem, the best thing to do would be create a simple test page and gradually add all of your scripts/code to it (testing the refresh effect between additions).  

Hope this helps!  ;)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
acidgoldAuthor Commented:
I meant dynamic menus (navigation of website) when I said navigation bars.

Either way, I noticed that this problem happens on some of google's pages too. If there is something wrong with a google site, chances are there is actually something wrong with your browser, I learn :)

So I am dismissing the problem for now, although I'll take your advice if it ever REALLY gets me annoyed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.