Closed (cannot reproduce)
Project:
Sticky Navigation
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2013 at 22:08 UTC
Updated:
26 Jan 2014 at 15:33 UTC
Jump to comment: Most recent
Comments
Comment #1
klonos...I've tried all of the above, but none seems to work:
$("#nav")("#nav")#navComment #2
skein commentedThe third one should have worked
Comment #3
klonosSorry, it doesn't. Just gave it a quick spin in simplytest.me too: http://simplytest.me/project/drupal/7.x?add[]=stickynav
After launching the sandbox:
- Enable the stickynav module.
- Switch to the Bartik theme (it has a footer region) as an admin theme.
- Go to the stickynav module config page.
- Check the Bartik theme checkbox.
- Enter
#footer-wrapperas the selector (that's the id of the footer section in Bartik).- Save.
- If your screen is too large, go to a long page such as the permissions or the modules page.
The footer is not sticky (stickynav.js is loaded though).
Comment #4
skein commentedYes, that is because this module activates only when an element is scrolled of the screen to the top.
For example if use #header in a very long page then when you scroll down the header will pop off and stick.
Since the module is in dev branch only you can submit a feature request to make elements sticky all the time.
Comment #5
skein commented