The responsive menu feature that allows for a mobile sliding menu is pretty nifty.
Is there any way to apply this same effect to a block (or region).
It'd be nice to be able to use a toggle to slide an entire sidebar in for instance.
If it's not achievable as part of AdaptiveTheme are you aware of anything short of writing my own module or subtheme that would accomplish this?
Thanks

Comments

jwaxman created an issue.

Jeff Burnz’s picture

The responsive menu system is very hard wired to the menu block and everything that goes on inside it, so the short answer is no, you can't use this system to toggle an entire region/sidebar etc.

Tell me what you want to do, I can probably gives some good pointers. AT uses some pretty neat plugins to do what it does, including enquire (media queries in JS), and heavy use of CSS3 transitions/transforms.

jwaxman’s picture

Thanks!
I've created a page view with an exposed filters block.
On a desktop, the exposed filter block sits in the sidebar region.
On small screen, I'd like the exposed filter block hidden by default.
If the user hits a 'filter' icon button the block would be revealed in a manner similar to the off-canvas menu.
It seems to me that this sort of feature would be useful for making a site feel more like a mobile app on the small screen.