Angel Garcia
Posts: 0
Joined: Thu Jun 11, 2015 11:37 am

Collapsible expand when other collapse

I have a Collapsible with two CollapsibleBlocks (Login and Register). When login is expanded and I expand Register, Login collapses (and vice versa). I want, when Login is expanded and I collapse it, expands Register (and vice versa).

I tried with this code when in collapse action at both objects and I don't have any result.
$("#login").trigger("expand");

How can I solve this issue?

Pavel Zarudniy
Posts: 0
Joined: Mon Jul 06, 2015 8:56 am

Collapsible expand when other collapse

Hi Angel,
Please try to use
code
Apperyio('<register_block>')&#46;collapsible("expand");
/code

Angel Garcia
Posts: 0
Joined: Thu Jun 11, 2015 11:37 am

Collapsible expand when other collapse

It works. Thank you!

Return to “Issues”