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-left
Float the left sidebar.primary-links
Float the primary menu.block-user
Float 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.
Project information
- Module categories: Accessibility, Administration Tools, Content Display
- Ecosystem: Floating block, Utilities
- 3,871 sites report using this module
- By alexpott on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 2.0.x-dev updated 20 Jan 2024 at 15:47 UTC
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC