If you have a 'deeper than two level' of page structure, then the current solution is not optimal of handling offset as only the previous offset of the page is remembered.
The above should be read as follow: Page 1 and Page 2 is on the same level, and so is Page 1.1, 1.2 and so is Page 2.1 and 2.2. You can go from Page 1 to either Page 1.1 or Page 1.2. The same goes for Page 2 and it two subpages.
Try to follow this path: Page 0 -> Page 1 -> Page 1.1 -> Page 1 -> Page 0 -> Page 2 -> Page 2.1 -> Page 2 -> Page 0. If you go to Page 1 then can't remember the offset.
Actually this is an easier path: Page 0 -> Page 1, scroll down -> Page 0 -> Page 2 -> Page 0 -> Page 1 (not scrolled down).
If this is implemented then one should consider then the offset is performed. It should be performed just before the actual transition so that one can make initializations of object before the offset is applied. This is important as during the initialization div could be expanded (f.x accordion that is default minimized)
If you have a 'deeper than two level' of page structure, then the current solution is not optimal of handling offset as only the previous offset of the page is remembered.
An example: Page 0 Page 1 Page 1.1 Page 1.2 Page 2 Page 2.1 Page 2.2
The above should be read as follow: Page 1 and Page 2 is on the same level, and so is Page 1.1, 1.2 and so is Page 2.1 and 2.2. You can go from Page 1 to either Page 1.1 or Page 1.2. The same goes for Page 2 and it two subpages.
Try to follow this path: Page 0 -> Page 1 -> Page 1.1 -> Page 1 -> Page 0 -> Page 2 -> Page 2.1 -> Page 2 -> Page 0. If you go to Page 1 then can't remember the offset.
Actually this is an easier path: Page 0 -> Page 1, scroll down -> Page 0 -> Page 2 -> Page 0 -> Page 1 (not scrolled down).
If this is implemented then one should consider then the offset is performed. It should be performed just before the actual transition so that one can make initializations of object before the offset is applied. This is important as during the initialization div could be expanded (f.x accordion that is default minimized)
Kindly regards Ruffio