3 ms·
On the web, inline/expandable “footnotes” are totally doable and provide a reader who enjoys sidebars and tangents the optimal ux, without jumping around.
by pcmaffey 5y ago
On the web, inline/expandable “footnotes” are totally doable and provide a reader who enjoys sidebars and tangents the optimal ux, without jumping around.
- sa46 5y agoThough it's a rather deep rabbit hole to get Tufte-style side notes [1]. Crafting Interpreters does it quite nicely [2]. [1]: https://www.gwern.net/Sidenotes https://www.gwern.net/Sidenotes [2]: https://craftinginterpreters.com/statements-and-state.html https://craftinginterpreters.com/statements-and-state.html
- pcmaffey 5y agoYeah those are nicely done. I like my own implementation, which overcomes the problem of limited width for the aside. In effect, its like unfolding a longer bit of the article. For example, click on the dotted yellow links here: https://www.pcmaffey.com/roll-your-own-analytics/ https://www.pcmaffey.com/roll-your-own-analytics/
- l-lousy 5y agoYou have one of the most wonderful looking blogs I’ve ever seen!
- chriswarbo 5y agoThe <details> HTML element can do this https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details https://developer.mozilla.org/en-US/docs/Web/HTML/Element/de...