As the title implies, I'm trying to reuse the same space for multiple div elements, but I want to toggle which ones are visible when clicking some buttons I've made.
So basically to sum this up: I want to be able to show/hide several divs by an on-click event of another div. I've tried to get this working in JS/CSS, but nothing wants to well..work lol. Hoping one of you guys/gals here can help me out again
Thanks in advance.
Comments
This is pretty simple, but the code for various versions/format will be different.
To enable jQuery you first need to use the Story > Special Passages > StorySettings menu item to add a StorySettings special passage to your story and then open that passage and check the Include the jQuery script library? checkbox.
Once this is done you can use passage code like the following to show/hide the div elements: note: The above is very basic but shows the basic techniques needed to do what you want.