Hello. Code here: http://jsfiddle.net/4WQGY/
The meaning of the script is that if we have a nested ul, then we open it and return false. Otherwise, if nothing is nested, open the link.
Links work as it should. But I can not understand. If you click on "Kitchens" in the example and click, the next ul opens, and if you click on the link in it where there is no ul embedded, this ul will close. Why is that? How to fix? I already broke my head :)