In my view (Pagination enabled with manual transition and AJAX) I have pagination links displayed below the loop in the loop editor. I also have a little js snippet in the loop editor js box to make the pagination scroll to the top of the page when the user clicks the Previous or Next pagination links like so:
I would like the 'scroll to top' function to scroll to the top of a particular location. Lets say, for example, a div (by id?) that would wrap the view in the the loop editor itself or in the template where the view is displayed. Or to an anchor or similar.
I have tried all the other 'scroll to specified location' ideas in other threads but cannot seem to get any to work.
Unfortunately, I am not very deft with jQuery... and am hoping you can help me out?
Many thanks in advance!
Rita