Hello, I'm wondering how you would call the javascript functions to collapse certain panels panes that are using this.

When viewing my site on a mobile device I would like to manually make a javascript call to collapse the blocks that are open by default. Is this possible?

Thank you for your help

Comments

billy_comic’s picture

Issue summary: View changes

I need this exact functionality. Did you figure out how to do this?

gmclelland’s picture

@billy_comic - No sorry, I haven't figured it out yet.

darvanen’s picture

Version: 7.x-1.x-dev » 7.x-1.1
Status: Active » Closed (outdated)

We're cleaning up the issue queue, please reopen if you still need this help, however it looks like it's outside the scope of the module.

My initial advice would be to simply add '.collapsiblockCollapsed' to all blocks that are labelled with '.collapsiblock'.