Page 2 of 2

Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Mon Jul 14, 2014 6:53 pm
by Kateryna Grynko

Hi Bahar,

You can use this code to expand/collapse accordingly:pre$("[data-role=collapsible]").collapsible("expand");
$("[data-role=collapsible]").collapsible("collapse");/pre


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Mon Jul 14, 2014 6:59 pm
by bahar.wadia

Works well.....

Katya, you always seem to be spot on with your responses.


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Mon Jul 14, 2014 7:12 pm
by Kateryna Grynko

Hi Bahar,

Thank you, we are doing our best to help :)


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Fri Aug 15, 2014 8:10 am
by thomasyim02

How to use this code? Is it a Javascipt? Why I can't run it even I change the specific block id?


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Fri Aug 15, 2014 9:47 am
by Evgene Karachevtsev

Hello,

A person, who used this code, used this JavaScript as the handler of event click for the button.


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Fri Aug 15, 2014 9:50 am
by thomasyim02

I have tried to used it as a Javascipt Handler, but failed to expand the collapse block. Any additional script need to add above it or below it when I used in the event tab?


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Fri Aug 15, 2014 12:18 pm
by Evgene Karachevtsev

Please check, are there any errors in the console of the browser? Also please make sure that you use the correct name for mobilecollapsibleset


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Thu Mar 05, 2015 5:33 pm
by Joe Sharples

How do i implement this.
For example with the collapsable block name 'mobilecollapsblock_397'
?


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Fri Mar 06, 2015 5:32 pm
by Alena Prykhodko

Hi,

Like the following:

preAppery("mobilecollapsblock_397").collapsible("expand");
Appery("mobilecollapsblock_397").collapsible("collapse");/pre


Expanding collapsible set block with a button outside of the collapsible set. Collapsible set is dynamically generated w

Posted: Mon Mar 09, 2015 5:48 pm
by Joe Sharples

Thanks.