I’m looking for a way that lets me jump to a specific element in a list of elements (divs) using javascript.
I can’t use hashes, because i’m using the history.js plugin to display the position as if it was a url (http://www.mysite.com/load/php/into/div/)
I’ve tried scrolltop() and the scrollto plugin, but both won’t let me jump directly to an element – I don’t want the the page to flicker, as the scrollbar goes down.
I’m looking for a way that would look just as if you would be using linked hashes to get to the element.
Try something like this to jump to an element using scrollTo jQuery plugin.