HTML collapse buttons work initially, but stop working after a few hours

241
0
01-06-2020 06:59 AM
MatthewArnold
New Contributor

I am trying to add an interactive collapse button that will help organize additional data that I want to make available in my Story Map. I have tried two methods, one with href and one as a button. Both will work initially, but after a few hours their behavior changes. In the case of the button, it simply no longer works, in the href implementation, the "button" now opens a new browser tab and fails to load anything. Here is the example I am copying the code from. Here is what the section looks like in my Story Map:

<p><button aria-controls="collapseFlowers" aria-expanded="false" class="btn btn-primary" data-target="#collapseFlowers" data-toggle="collapse" type="button">More information on Wildflowers</button></p>

<div class="collapse">
<div class="card card-body"><img alt="" src="https://i.imgur.com/Bidb7cR.png" /></div>
</div>

Any idea why the code stops working? Thank you!

Tags (2)
0 Kudos
0 Replies