Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
billy_comic CreditAttribution: billy_comic commentedI need this exact functionality. Did you figure out how to do this?
Comment #2
gmclelland CreditAttribution: gmclelland commented@billy_comic - No sorry, I haven't figured it out yet.
Comment #3
darvanenWe'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'.