Conditionals
Jun 16, 2016
Hey there,
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!
Thanks!
Ian
7 Replies
This post was removed by a moderator
I'm not sure how this is supposed to work. If i click, on let's say Subduction, I get a submenu. Clicking any of the submenu items displays a layer with a definition. Are you saying, you wan to be able to click Subduction again to display additional info?
Hi, Ian -- Thanks for reaching out! I wanted to stop in to note that this query would also be well-suited over in our design-related forum Building Better Courses if you'd like to share it over there, as well.
Thanks Michael, that's exactly what I'm looking for. Basically wondering whether a conditional would work in this instance, and how best to handle it.
Thanks Christie for the suggestion too!
Hey guys, just following up to see if anyone had any suggestions.
Ty!
Ian,
Look at the attached. Click on Plate tectonics and it shows the gray layer. Click on Subduction and it shows the subduction layer (I love your animations, BTW.) Click on Subduction again and it hides the subduction layer. Click on Plate tectonics again, and it hides the gray layer.
I copied the Plate tectonics button onto the gray layer. On the base layer, clicking on it shows the gray layer. On the gray layer, clicking on it shows the untitled layer, which is blank, but is set to hide other layers.
From the gray layer, I copied the Subduction button to the subduction layer, where it hides the subduction layer.
Thanks Walt,
The 2nd click is exactly what I was after.
Thanks you!
Glad that Walt was able to assist you here Ian. Thanks for popping in with an update.
This discussion is closed. You can start a new discussion or contact Articulate Support.