-
- 28 Posts
Hi!
Is there a way to make DropMenu give a class to each page that has subpages? Sort of like the tree in the manager?
I use css to hide all list items except the ones with a parent with class="here", and I want a way to show visitors which pages have subpages...
I’ve searched extensively, but I’m either not using the right search words, or nothing has been written about this in the forums...
-
- 264 Posts
Good question. I’m interested in an answer, too. Somebody?
-
- 35 Posts
There is an indication of the opposite. You have a class "last", whenever that page do not have any children.
Does this resolve your css matters?
-
- 7,075 Posts
Funny you ask this, I have the need for the very same thing, as anyone who builds a pure css dropmenu will if the’re concerned with UI.
To my knowledge, DropMenu (and its variant) does not provide the necessary code to do what you (and I) need : e.g a css class for every folder with at least one children.
The "last" class won’t help with this, I am afraid, as it only styles the last element of a list...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
- 35 Posts
I see now. I can do that (I think).
Stand by.
-
- 7,075 Posts
That would be awesome
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id