Schik wrote:Just an FYI - the anchors only work right now if the first unread post is on the first page... otherwise it's taking you to the top of the first page because it can't find the anchor.
Hey Schik,
Coincidentally, I am implementing a very similiar anchoring feature in a web application at work (in perl though).
I've noticed that some browsers snap the anchor to the top of the viewable area, while others place the anchor at the bottom of the viewable area.
So if I want to ensure that some element is visible on the screen when the page loads, I need to do browser detection to decide if the anchor goes before or after the element.
Do you happen to have a list of which browsers anchor to top and which anchor to bottom? (I think nearly all do top, but it'll save me lots of testing if I knew which don't in advance).
Thanks, and again, good work!
-Bryan