It's not up yet, but is nothing fancy, just something like:
<labelfor="someid">visible text or button</label><inputid="someid"class="hidden"type="checkbox"><div><ul><li>some item of the menu</li>
...
</ul></div>
But all in all, I avoided JS, works fast, doesn't add much html or css and is just a visual aid, shouldn't mess with screen readers or other devices, even without css the result is readable enough. I hope it helps.
It's not up yet, but is nothing fancy, just something like:
The idea is to take advantage of the :checked and the ~ in css
About the tables, is similar but using the column table element to toggle visibility: collapse
Besides adding a hidden I think it doesn't muddy the html or css much, if you are hidding a lot of columns you can get something not that pretty like:
But all in all, I avoided JS, works fast, doesn't add much html or css and is just a visual aid, shouldn't mess with screen readers or other devices, even without css the result is readable enough. I hope it helps.
WOW I love this so much! What a great resource. This is really awesome. Thank you!