Building a better nav plugin
Permalink
I don't know if anybody feels the same way, but I've been super frustrated with navigational plugins. I want a nav plugin that supports as many levels as I want, is responsive, goes into an accordion style for mobile devices, works cross browser, is easy to set up and easy to style! There are some good ones out there, but they're often very hard to modify... Often times at work, we need to match a design and it's frustrating spending a lot of time to try and modify functionalities and/or style.
Tired 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.
Tired 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