The Floating block module allows you to keep html blocks or contents, selected using jquery selectors in a fixed position on the page as you scroll. This means that when a user scrolls the browser, some parts of the site can be maintained in the user's view by fixing their position.
Install the module asusual.
Go to the Floating block admin settings page (admin/settings/floating_block), there you will find a Textarea where you can enter the CSS classes or Id's of the blocks which needs to be floating.
Examples :
#block-chatroom-0
#search
#myarea
It has to be entered one by one as above, as you can see the first and second Css Id's are drupal blocks from contributed modules while the third one is customely added DIV by me, which means it also works for the Custom DIV's or regions not only the Drupal Blocks.
Install the module asusual.
Go to the Floating block admin settings page (admin/settings/floating_block), there you will find a Textarea where you can enter the CSS classes or Id's of the blocks which needs to be floating.
Examples :
#block-chatroom-0
#search
#myarea
It has to be entered one by one as above, as you can see the first and second Css Id's are drupal blocks from contributed modules while the third one is customely added DIV by me, which means it also works for the Custom DIV's or regions not only the Drupal Blocks.
No comments:
Post a Comment