Vertical navigation with jQuery
JavaScript object for vertical navigation with sub-navigation.
Demo
Additional resources used in the project
Usage instructions
To instantiate the plugin use any selector:
$('#leftNavigation').ssdVerticalNavigation();
There are also a few options you can use:
$('#leftNavigation').ssdVerticalNavigation({ classMaster : 'master', classActive : 'active', classClickable : 'clickable' });
Class master
is going to be automatically applied to the top level ul
tag. Class active
will be applied to the most recently clicked li
tag. Class clickable
should be applied to the first level li
tag, that needs to link to some page rather than just being a trigger for the sub-navigation.