Showing posts with label Css. Show all posts
Showing posts with label Css. Show all posts

Tuesday, February 15, 2011

Floating Blocks - Drupal

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.

Customizing the Search form - Drupal

To change the label text and text inside the search box and the text on the submit and changing the Submit button image, you can use the fo...