• Resolved greggreg22

    (@greggreg22)


    [tabs]
    As in topic, can i set starting tab (default) to be collapsed after page is open?
    Or can i set no-tab on start?
    Point is not have open any tab after page load.

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Lowe

    (@squelch)

    Hi @greggreg22,

    You can achieve this by setting ‘collapsible=”true”‘ and ‘active=”n”‘ (where n is some number that is bigger than the number of tabs that you have).

    e.g.

    [tabs active="2" collapsible="true"]
    [tab title="Tab 1"]
    Tab one's content
    [/tab]
    [tab title="Tab 2"]
    Tab two's content
    [/tab]
    [/tabs]

    To open a tab the user would then need to click on one of the tabs which would expand it out.

    • This reply was modified 6 years, 11 months ago by Matt Lowe.
Viewing 1 replies (of 1 total)
  • The topic ‘Are tabs can start as collapsed?’ is closed to new replies.