WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Accordion Rendering As Open First

[Resolved] Accordion Rendering As Open First

  • mobetman2
    Participant

    @mobetman2

    First, I want to say thanks for the plugin. Tried others but your is working the best.

    My issue is that I have added the accordion via PHP to my theme template and it’s working but the form I’ve embedding into the accordion is displaying first then it closes.

    Is it possible to have the accordion render first as closed so visitors never see the full form unless they click on the accordion tab?

    http://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Lowe
    Participant

    @squelch

    I mobetman2,

    Sorry for the slow reply, your question slipped past me somehow.

    Do you mean you see the form while the page is loading, but then the accordion collapses so that you can’t see it any more?

    Or do you mean the accordion’s always got one pane open?

    mobetman2
    Participant

    @mobetman2

    The first situation you mentioned. you see the form while the page is loading, but then the accordion collapses so that you can’t see it any more.

    If possible, I’d like the form to never display unless the accordion is opened by the user.

    Plugin Author Matt Lowe
    Participant

    @squelch

    Not much that can be done about that, it’s down to the page load speed. The JavaScript that turns the HTML into an interactive accordion can’t run until the page has loaded, if things take a while to load then the contents will be visible for a while. I’d recommend taking a look at what’s slowing down the page load speed.

    mobetman2
    Participant

    @mobetman2

    Ok, thanks for getting back. I’ll check your suggestion.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Accordion Rendering As Open First’ is closed to new replies.