Navigation Page not Remembered
yumi-xx opened this issue · comments
One of the cool things about the sidebar is that it has arrows for flipping through pages of items. However, when an option is selected, the page is not remembered; this is not much of a pain now but if there were more than a few pages this would quickly become sore.
I have a few ideas on how this may be fixed, ordered by how much I like each idea:
- Window.sessionStorage
- Temporary cookie
- GET parameter
When implementing one of these suggestions, remember that multiple navigation arrows / containers must be supported, i.e. I don't want to see page=1
because I'm not sure which navigation you are talking about?
Ideally loop through the DOM and store the page
of each collection of items.
Difficulty: 3/5