0

to perfectly describe the problem look at (in firefox, my version=3.0.10!!): http://musca-design.de/portfolio.php when you click through the portfolio, apparently the scrollbar jumps to the bottom?

In Safari, Opera it wont, it stays at the top, which is what I want.

Is there a workaround or how can a tackle the problem?

Don
  • 181
  • 1
  • 4
  • 12

2 Answers2

0

The scrollbar (the page actually) jumps, because Firefox jumps to an anchor.
Your links in your <li>-list e.g. point to URL#p05 - is there a reason for using those anchors?

Select0r
  • 12,234
  • 11
  • 45
  • 68
  • ..maybe use "rel" or "name" attribute of the ancore-tag, does that work?? I have to google :) – Don Nov 17 '10 at 17:25
0

There's no real way to prevent this but a solution has been posted here

Prevent default hash behavior on page load

Community
  • 1
  • 1
Matt Asbury
  • 5,644
  • 2
  • 21
  • 29