Forum Discussion
Adding a Trigger to Hide a Scrolliing panel
Brian, you're awesome.
I've got that part working. However, I'm trying to modify it a bit.
In the file I've uploaded, I have the close button on the base layer, however, I would like to put it on the Show Transcript layer, on top of the Sliding Panel.
The problem is that when I do that, for some reason the Scrolling Panel state on the Sliding Panel won't show.
Can you help me figure out what I'm doing wrong? I've been testing your instructions on slides 2 and 3 in the project.
As a side note, this is an older project to which I'm doing minor updates. But I plan on using this sliding menu when I fully revamp the project as well.
Thank you again. I really appreciate your assistance.
- BrianAllen10 years agoCommunity Member
James, you're really close, and I really like your hamburger-style button for the panel, but you're running into a couple of little flukey parts of this workaround.
The first is that you technically can't insert (from the SL menu) a scrolling panel into a custom image state. What you can do, however, is create the scrolling panel and add your text outside the custom image state (like on a slide layer or something), then cut and paste your working scrolling panel into your custom image state. It *should* maintain its functionality when inserted this way.
The second problem is with the close button on your sliding panel image. Hard to get triggers to work inside custom image states. What I did instead is add a hotspot to your slide layer in the same place your close button is going to be, with a trigger to change the state of the sliding panel image to "hidden" when clicked.
Check out the updated .story file attached and let me know if this is what you're trying to do.
Brian
Related Content
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago