Apologises for the long ramble but here we go!
I'm working with a topic map and hoping to create a semi-interactive map with overlays defining each sub topic.
I have a test file here: https://s3-eu-west-1.amazonaws.com/educate-interfaces/Geography-Test-6/story.html
At the moment, there are 6 key topic areas that expand into further areas, I have a transparent box over each creating a link to the overlays.
My question regards the 6 key topic buttons (Subduction, Continental drift, Mid-ocean ridges, seafloor spreading, earth's structure, and convection currents). You'll note that once clicked these expand the subtopics.
I am hoping we can add an conditional statement that basically reads:
"If layer X of subtopic is visible/show, allow for another click on the same button for a similar definition overlay to be made visible.
I hope that makes sense? I have included the working file!