Managed to fix the previous problem and am left with a less critical
one...:

$("dt.current").next().addClass("show");

...adds this class to my <dd> submenu.

However, when there's no submenu, the class is added to the next
element, like the next <dt>

So, with this code I would *not* like to add class="show" if next() is
not a <dd>

Again, had to give up after 20 times of trying and thinking how easy
and intuitive this one would be... ;-p

Reply via email to