Doesn't return to same postion when clicking browser back button
-
Infinite scroll works fine on my site with Weaver 1.3.8 free, its scrolls to infinity and beyond on the default blog page without the load more posts prompt.
However, the only problem is that when I click browser back button from another page to return to the default blog page it doesn’t return to the same position I left from, it alwanys returns to the first position of the infinite scroll, ie: If my settings are to show three posts before scrolling, if I scroll down to ten posts then click out and click back, it will return to the third post every time.
The settings page has the following already filled in except the Callback field.
Content Selector: #content (Div containing your theme’s content)
Navigation Selector: #nav-below (Div containing your theme’s navigation)
Next Selector: #nav-below a:first (Link to next page of content)
Item Selector: .post (Div containing an individual post)
Callback: ??? (Code that is called after each new page is loaded)I’m hoping that its just a case of entering the callback code but I have no idea what I’m looking for in this code, please help.
https://www.ads-software.com/extend/plugins/infinite-scroll/
- The topic ‘Doesn't return to same postion when clicking browser back button’ is closed to new replies.