• Resolved rnbutler87

    (@rnbutler87)


    Check out the link to where the accordion in question:

    https://www.cartoonkids.net/uncategorized/element-tester/

    I’m trying to create the accordion using purely HTML as shown by the output HTML in the documentation. And it works exactly as I want it. EXCEPT, on page load, the accordions are all open. And then when you click on one, they all close. However, after this initial strangeness, they continue to behave as expected.

    Any help on this would be greatly appreciated.

    Richard

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    This plugin isn’t meant to be used that way. Why not just use the shortcades?

    Looking at your page, I can’t see where you’re loading the JavaScript file required to make the accordions work. Without the JavaScript they won’t work as expected.

    It could be you’re not using this plugin at all for those accordions.

    • This reply was modified 5 years, 7 months ago by philbuchanan.
    Thread Starter rnbutler87

    (@rnbutler87)

    Hi thanks for the reply.
    It was just something I thought could be done. No problem, I’m using the shortcodes now and looking great. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using purely HTML I can’t get the accordion to be closed by default on page load’ is closed to new replies.