Gorlaugs_Avengers
Is there a way to add spoiler tags to text so it collapses under the Spoiler box until it is clicked and then it expands to show all text? I would like to organize my groups character sheets with these so they do not grow into massive walls of text.
Thanks.
example at...
http://paizo.com/people/DragoZakharov
Comments
- Kallak
I've tried using a few CSS tricks, but most of them require CSS3. So if anyone can get a spoilers (or even a localized "more") button working, that would be very cool.
-
Ketherian
"Signs & Portends":https://swtwc.obsidianportal.com
Signs & Portends, Dwarves of Lost Koldukar, In a certain realm
There are some simple CSS tricks that you can use as a work-around for this kind of thing, but most of them don't work in this context for one reason or another.
Your best option will hide all but the top line of a box (where you can put some label text), and show the rest of the box while you hover over it. To use this approach, put the following into your CSS, and mark a div with the spoiler class:
.spoiler{height:1em;overflow:hidden;}
.spoiler:hover{height:auto;}
"Demo Page":https://chainsawxiv-test-campaign.obsidianportal.com/wikis/spoiler-test
-
Ketherian
"Signs & Portends":swtwc.obsidianportal.com
"Dwarves of Lost Koldukar":dwarves-1.obsidianportal.com
Signs & Portends, Dwarves of Lost Koldukar, In a certain realm