sticky Magellan navivation menu - have a working sample?
Can someone post an sample of a sticky magellan menu that changes the .active class of the links as the page scrolls through sections?
https://dl.dropboxusercontent.com/u/109 … lan-h2.rsd
I made it from the descriptions I found on one of the Zurb pages that you posted a link to in another thread, and then I added some extra styling I found on another Zurb page.
It is working as far as I can see. The colour changes are best done in the extra styling (see Settings pane).
I have just banged in some contents, just to have something that the menu can scroll to.
If you have something that is better, I'd be interested.
I have uploaded a new file, as I noticed there was an alignment error in the first one. So just in case someone has downloaded it...
In the RSD forums, I did find a fix for it. The .active class must be embedded in the page or or in a custom stylesheet. And the font color must have "!important" after the property. It will also work is a custom class name is delivered through a data attribute for Magellan. I reported it as an issue.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.