2 ms·
The progressive enhancement way to do show/hide sidebar used to be to have the sidebar content displayed in full at the bottom of the page, then use an anchor l
by simonw 5y ago
The progressive enhancement way to do show/hide sidebar used to be to have the sidebar content displayed in full at the bottom of the page, then use an anchor link that jumps the user down to that content.
Then the JavaScript that loads can hide that area and cause it to display in place when the show link is clicked.
Or... these days you can get a lot done with the HTML summary/details elements - including implementing popup menus.