Issues with Javascript/Primer buttons
TappedOut forum
Posted on Nov. 16, 2019, 7:33 p.m. by Mortlocke
Hello all,
I'm having issues with my deckpage The Queen's Egg - none of the "show"/"hide" javascript buttons work in my accordion (under the hivestone) deck description.
Specifically this bit of code:
<button onclick="document.getElementById('div2.reading').style.display=''; document.getElementById('div1.reading').style.display='none';" class="button">Show</button>
Seems to be having issues. The code is based off of Epochalyptik's code posted here. Is anyone else having issues with similar code and/or inline and/or js permissions?
Thanks for responding! yeaGO - ah, I haven't formally implemented multimedia's work around, but i've tested it, and it works. His suggestion is pretty genius because it opens up some additional options for accordion customization.
yeaGO says... #2
Still reading up on impacted cases and thinking about workarounds. Did multimedias advice seem to be a workaround for you case?
November 16, 2019 8:31 p.m.