Bugzilla – Bug 6174
Default skin: Alphapagebar in-page links position
Last modified: 2007-11-19 07:31:44 UTC
The alphapagebar isn't working quite right for in-page links. For instance, when browsing artists if I go to the letter 'V', which is on the page containing T-U-V-W, it brings the first item beginning with 'V' into the very bottom of the frame, while the Classic skin correctly brings it to the top.
I know that's not perfect. But the difference between the two is that in Classic the whole page is scrolling. In Default it's only a DIV. And within DIVs link targets don't work. I therefore had to come up with some JS. Not sure I can make it much better than this.
That's the trouble with creating a browser-based interface, isn't it? Users expect some standard behaviors that they've experienced on countless other web pages.
Created attachment 2422 [details] force to top This reverses the scrollIntoView by first setting the scroll to the bottom then moving the anchor into view. The number used for scroll might need to be set with a higher value to deal with really long lists (does anyone set the itemsPerPage that high?). I've tested with Firefox and Safari.
Change 14827 - ok with Opera as well, will test with IE later. Thanks again!
confirmed with IE