I found the modals a fab way of keeping pages tidy and when writing about DnD games they allow me to hide the hints. i found some examples, and created a page with three modals, which now seem to only display the 3rd. I would like to fix that as I think I will/might use the technique to hide the motions in “Energy, Climate Change and Just Transition”. Anyway, here are my notes and links
- https://www.w3schools.com/howto/howto_css_modals.asp
- https://dev.to/aleksandrhovhannisyan/multiple-modals-on-one-page-using-html-css-and-javascript-353b#multiple-modals-on-one-page-stacked
My pages that use modals are
- https://davelevy.info/wiki/nwn2-monks/
- https://davelevy.info/wiki/nwn2-the-harp-the-crysanthemum/
- https://davelevy.info/wiki/energy-climate-change-and-just-transition/
There are some private one’s too.
[…] The following examples now fail completely in the tempo theme, but I have moved on and the pages have been screwed by the block editor. See also, http://mom.deptford.red/2022/01/16/using-modals-on-this-site/ […]