targclass=”maptastic” with expand all button
-
I’m using targclass=”maptastic” to fix the issue described here: https://ww.wp.xz.cn/support/topic/content-shows-expanded-at-first-page-load-2/
However, when I do this the class=”expandall” button I’m using to expand all my collaps-o-matic headings is not working. Any suggestions on how to get the expand all button to work?
Thank you!
-
Oh my, you are correct!
We tested this and the expandadd triggers were not working with maptastic! how embarrassing.
Good news: we fixed it. Please updated to the release candidate we just pushed to GitHub at: https://github.com/baden03/collapse-o-matic and get back to us with any questions or feedback. Once we do a bit more testing, we’ll push this update to the WordPress repo.
Cheers, and thank you for the bug report!
Thank you! It appears to be working.
Hmm. It seems that some of the headings are still loading non-collapsed for a milli-second before collapsing, despite me using targclass=”maptastic”
Any ideas on why this might be?
it could be a few things, depending on how heavy the content is on the page… how slow the server is, at what point the css is being loaded–etc.
Try changing the script location from the footer to the header using the conveniently named Script Load Location setting on the plugin options page.
Do get back to us with any results, or even a link to the page in question.
Sorry for the delayed response, but I’m revisiting this issue and headings are still loading non-collapsed for a milli-second before collapsing despite using magtastic as the targclass and also moving the script to the header in the settings. Here is an example page: https://www.casestacks.com/msk/msk-radiographs/shoulder-humerus/classic-case1/
Any thoughts/suggestions are appreciated. Thank you!
The topic ‘targclass=”maptastic” with expand all button’ is closed to new replies.