Hi,
I am trying to implement unique URLs in my ajax application and so far so good.
Unfortunately, since the technique uses the fragment identifier '#' in the URL, I can no longer use it jumping to anchors.
(btw, The technique I'm using is actually just the new HistoryPoint feature in ASP.NET 3.5)
So I need to simulate the action of jumping to an anchor.
Lets say I have an element somewhere down the html page (a table cell for instance), and I have its id.
The browser obviously knows how to jump to an anchor, so how can i do it via javascript without actually using a fragment identifier.
(I've already tried to see whether i could retrieve the absolute pixel position of the element and then scroll to te appropriate place, but there is no such method for retrieving absolute pixel position).
Open in new window