Smart scroll #93

Closed
arvgta opened this Issue Apr 10, 2016 · 0 comments

Projects

None yet

1 participant

@arvgta
Owner
arvgta commented Apr 10, 2016 edited

EDIT: Implemented

Demos


Feel free to comment!

Functionality: Remember the vertical position of the scrollbar when navigating between pages
A bit like in this post / article

Switch in interface:

scrolltop: "s"  //new default parameter - "smart", true - always scroll to top of page, false - no scroll

Algorithm:

  1. Remember the following value of the previous page, in a new $.offsets sub-plugin:
$(window).scrollTop()
  1. Restore the scrollbar offset of current page after rendering
@arvgta arvgta added a commit that referenced this issue May 3, 2016
@arvgta Preparing implementation of issue #93 5ebba2e
@arvgta arvgta added a commit that referenced this issue May 3, 2016
@arvgta Preparing implementation of issue #93 ba13416
@arvgta arvgta added a commit that referenced this issue May 8, 2016
@arvgta Preparing implementation of issue #93 a83acbc
@arvgta arvgta added the enhancement label May 22, 2016
@arvgta arvgta closed this Jul 21, 2016
@arvgta arvgta reopened this Oct 8, 2016
@arvgta arvgta added question and removed question labels Oct 29, 2016
@arvgta arvgta closed this Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment