Building a better nav plugin
PermalinkTired of looking for a new one all the time, I decided to try and make my own. This is still a WIP, but if anybody else wants to contribute, I'd love to have some help on this project. I'd like to add support for touch devices and add some options in the initialization.
https://github.com/rogertheshrubber/boringNav...
I don't have a special installation for concrete yet, but if anybody's interested I could make one and/or help you set it up.
This plugin works great with C5's autonav. You can actually remove some of the JS if you add the right classes with C5: "nb-selected", "bn-hasSubMenu", "bn-top". The conditions to use are: $ni->isCurrent, $ni->hasSubmenu and $ni->level == 1
I've prefixed all my classes with "bn-" to avoid conflicts with your styles. I've also tried to separate my CSS into 3 categories: layout, skin and state to make modifying it easy as possible.
http://www.concrete5.org/developers/open-source...
http://www.concrete5.org/developers/open-source/submit-your-open-so...
Best Wishes,
Mike