I like CSS solutions; they are very clean and you do not mess up with the js 
code.

> something like "menus that do not contain any menus" --- li with no 
> containing ul --- I think 
that can be done in jQuery. Can it be done in CSS?

Not actually straightforward, since you cannot apply css to parent nodes 
based on their children; the logic it's the other way around, top-down.
So I don't see how jQuery would do it -- it would have to resort to checking 
all 
ul and li elements using JS before deciding.

Anyway, why target terminal submenus? It's their height that brings trouble, 
not their level in hierarchy.





------------------------------------------------------------------------------
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to