PDA

View Full Version : Nested <ul><li> visibility


ChocolateLover
02-04-2009, 10:31 PM
I'm using a spry vertical menu created by Dreamweaver.

By default, the top level <ul><li> elements are visible and the sub <ul><li> elements are only visible when hovering.

I'd like the top level <ul><li> elements to be invisible always, the second level <ul><li> elements to be visible always (just like the top level elements are by default) and then all nested <ul><li> elements to be visible when hovered, just as they are by default.

Is this something that could be achieved using CSS only or will the javascript need to be tweaked too?

Any help is appreciated.