Toggle or Hide/Show button for multiple popups
Hello,
Can anyone help resolve this issue either using toggle or hide/show actions for buttons? Here's what I have currently, https://conceptcommusa.com/stage/Mainstreet/Scene2/HP_MS_Infographic_Scene02_03152023.html
https://www.dropbox.com/s/cpnod6nm0dppmaw/HP_MS_Infographic_Scene02_03152023.fla?dl=0
The issues:
- Able to click and toggle multiple buttons rather than just one at a time.
- Ideally would use an "x" button in the popup to close rather than toggle
- Images in box are not showing correctly on all
Each popup has a gradient change with stop actions for 0% and 100% for the timeline:
var _this = this;
_this.stop();
The toggle actions include:
var _this = this;
_this.btn1.on('click', function(){
_this.btn1box.play();
});
_this.btn1.on('click', function(){
_this.btn1box.play();
});
Here's an example how I would like the buttons to function:
https://covid19.ergonomics.org.uk/media/CIEHF%20WFH%20Infographic.html
What am I missing? What is a better way to code this?
Thanks!
