Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I wonder if this module can be used together with some responsive themes (Omega, etc.). The problem with responsive themes is you can show or hide blocks with CSS. But it means that even if you dont display a block, you load it in smaller screens. So, loading some blocks with AJAX for larger screens can be a better solution.
Anyone has a suggestion to achieve this with this module?
Comments
Comment #1
Iztok CreditAttribution: Iztok commentedStoring browser width into a session and then having a custom content function for block.
Not really sure how to do a generic approach within this module.
Comment #2
abs CreditAttribution: abs commentedFor my usage scenario, I would simply be happy to suppress automatic block load on page load and being able to trigger block load by using function from custom javascript. This would even extend the usage scope of this module - block load might be triggered by any event, like on-click or hover etc.