Sticky

Categories

Component ID

2834327

Component name

Sticky

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

662

Component created

Component changed

Component body

Creating a sticky header or footer is now easy-peasy with the Sticky module.

The Sticky module implements the Sticky JS library
(http://stickyjs.com/)

-- GETTING STARTED --

1. Install Sticky in the usual way
(https://www.drupal.org/node/1897420)
2. Download the Sticky library (version 1.0.4: https://github.com/garand/sticky),
rename the folder to sticky and place it in /libraries/
in your drupal root.
3. Go to Administration > Configuration > System > Sticky
(/admin/config/system/sticky)
5. Change the DOM selector to the element you want to make sticky
6. Optionally change the javascript settings
7. Click "Save configuration"

Now visit your website, the selected item should now be stick!

-- MAINTAINERS --

Fons Vandamme - https://www.drupal.org/u/fons-vandamme

-- EXAMPLE WEBSITES --

https://fonsvandamme.be

-- SPONSOR --

Maintained by E1