joelbower-gmail
-
3/18/2013 5:35:17 PM
Programatically add class to menu item
I was wondering if it is possible to add classes to li items withing a CSS List menu web part.
I'm trying to add a class stating whether the item has children or not, but from the looks of things the only way to do so is to go into each page and add a class manually. I want the process automated, so that if there are children underneath it a class (e.g. 'has-children') is added to the li
Any ideas?
|