Floating block
The Floating block module allows you to keep html blocks, selected using jquery selectors in a fixed position on the page as you scroll. It works in a similar way the table header fixer in Drupal Core. This means that when the user scrolls their browser selected parts of the page can stay in the users view.
This is extremely useful when you have pages with lots of content and you want a side menu to stay in view.
Typical block selectors
Default theme block selectors in Drupal are:
#sidebar-leftFloat the left sidebar.primary-linksFloat the primary menu.block-userFloat the user login block
The important thing is to look at the html Drupal is generating for your page and look at the id or class of the element your want to float. Find out more about jQuery selectors... Additionally another very useful tool (if you are using Firefox) is Firebug.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.1 | Stable | Drupal 11 support | Oct 10, 2024 |