Forum Discussion
Create a on/off or toggle butto
Hi, It's been a while since I've done dev work.
Can someone PLEASE tell me how I can - (Yes, I know it's super 1st grade SL STUFF.....I'm a noob all over again....sigh).
1. When user clickS on button to show either a layer or the text box. Using this as additional info after video plays e.g. "More info" button.
2. Some users don't mind the textbox remaining and moving on, but others want to click the button to hide the info text box .
I did the initial hide and when user clicks the text will show, but I'm not sure about to hide again on next click.
15 Replies
- WendyFarmerSuper Hero
this KB article may help you - it’s says SL2 but works with all versions
https://articulate.com/support/article/how-to-create-a-toggle-button
- Kai-04e9073e-5eCommunity Member
Thanks Wendy I'll check it out. It's been a while.
- JenniferShaf717Community Member
This link doesn't seem to work anymore.
Hi JenniferShaf717! It looks like that article was for a product that we don't support anymore. I found a discussion that mentions the steps for creating a toggle button. Let us know how it works!
- PhilMayorSuper Hero
That KB article is a little misleading. You don't need a variable to do a toggle button just create a button or shape with a selected state and no visited state, this will toggle. To create an event that toggles add to triggers to that button one to do something when the state is equal to selected and one to do something when it is not selected, much easier and doesn't need you to monitor the state of the variable when the slide is revisited.
- KarenErasmus-27Community Member
Thanks Phil. I'll try it. Boy, it's been a while since i've been in sl WORLD.
- Kai-04e9073e-5eCommunity Member
@philmayor I couldn't get it to work. Can you send me a quick tut or a file? Only if you are bored, other than that, I'll try again to see how I can make it work.
- PhilMayorSuper Hero
Here is a file and also here is a working link https://360.articulate.com/review/content/2c322074-09be-42d8-bbe3-40683977ab2b/review
Hope that helps
- AdenaWilson-5ddCommunity Member
Three+ years later and this remains solid advice. Helped me get past a roadblock. Thank you.
- GlendaDeHoff-0cCommunity Member
Almost December of 2023 - still solid advice!
- Kai-04e9073e-5eCommunity Member
xxxxxxx I love how creative you are.
- RobertDanklof-aCommunity Member
Hi there, i set-up a page with multiple small i-buttons. The buttons triggers slidelayers. the selected/visited state option does not work well when useing multiple layers and buttons.
Storyline have a hoover restore option. Articulate, It will really help if there will be standard toggle function.
- TerriBanfillCommunity Member
The year 2023 and still remains "solid advice"!
- Natalija_ICommunity Member
May 2024 - still solid advice! :-D
- PhilMayorSuper Hero
Shouldn't need a tutorial for this create a shape and add a selected state that is a toggle
If you need triggers add:
do this on condition is selected
do this on condition is not selected
Related Content
- 2 months ago
- 9 months ago
- 2 months ago