spiffyjr/spiffy-navigation — pull request #7 by manuscle (2013-02-15 15:03:32+00:00)
Title: Adding MinDepth, Max Depth, activeClass support, issue #4 correction

I deleted the previous fork.... and create another, my bad ...

So in this fork i added this:

maxDepth : If you want to show a main menu with only the 0 depth elements, it's usefull to set a maxDepth.
minDepth : If you create a second submenu and you want all the > 0 depth elements menu, set a minDepth to 0. the navigation will show all the subelements of the active route if match.

activeClass : can set a class for activeClass eg.

Issue#4 : for a menu with items matching a given parameters route

Added Unit Tests

This is hard to test all the cases, so please, test in your environment and thanks to help me :)
[url=http://www.zimagez.com/zimage/capturedcran-15022013-160128.php][img]http://www.zimagez.com/miniature/capturedcran-15022013-160128.php[/img][/url]