I have been racking my brain to get this to work. I basically want collapsible divs for certain information that can be toggled open and close, but I can't get any method to work on this site. I have tried a method using an input tag with a checkbox, two "a" tags that alternate the box that wouldn't work on chrome, and the details tag. The input and details tags weren't accepted by the site. I have no idea why. I would love some solution to this.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The only way i've gotten collapsible divs to work on all browsers to work is to use animation.
Hover on the show after chrome show for an example of it. Then hover on the displayed text to hide it.
https://dead-men-tell-no-tales.obsidianportal.com/wikis/testpopup
With your css being
They are among us!
XCom: Defiance - Campaign of the Month November 2016
I'll give that a try and see if it works for what I'm trying. Thanks! Appreciate it!
Hey I think I got this one!
If what you are looking for is on my Main Wiki page:
https://age-of-serpents.obsidianportal.com/wikis/main-page#episodes
Put this in your CSS
Then enclose the content on the individual page with this:
<div class="MapMenu">
<b>MOUSE OVER ME TITLE</b><p>
<p>YOUR DROP-DOWN CONTENT</p>
</div>
Hope it helped!
~ JIM,
Campaign of the Month, September 2016
You might have to play around with the font and border sizes to make it look right.
I know I got that from someone else, Ketharian I think. In any case, c-greg's might look better for you but both work.~ JIM,
Campaign of the Month, September 2016
And one more bookmark.
~Weasel0
A Parade of Black | ShadowRunHack |
Where I play with CSS code
Nice Jim. Transition animations plus max-height works nicely.
They are among us!
XCom: Defiance - Campaign of the Month November 2016
These are great ideas and I appreciate the help; however I really want something that would work the same but not using hovering.
Basically, I want to make something they click on and it opens that section, and if they click on it again it closes it. That way they can choose which sections to have open at once so it is easier to jump back and forth between the content they want to look at.
Seconded Toejam08, I've been hunting for exactly what I think you are looking for. Any success?
I'm almost positive this is not possible without javascript.
-bort
Campaign of the Year - 2018
Yeah I have not really had success with this at all. Without javascript or the ability to use the HTML5 details and summary tags, I don't know how to do what I want. Any reason that they don't allow the details and summary tags?
Is there a way to integrate this sort of thing into the base character sheets for pathfinder and 5e?
I'd really like to figure this out as it seems like it would be very simple to add, It seems to work just fine in the OGL roll20 sheet, but I'd like a sheet that doesn't need that kind of thing to run.
I can inspect the element but where I need to go to find the properties listed or if I can just try and plug the attributes in as is is uncertain