Skip to content

24 ways to impress your friends

Vote down?

Rowan Wernham

great! a really lightweight way to do something on a site I am working on right now.

I know this article is ancient history.. but any chance you could show how it would work if i had multiple items that opened and closed in the menu.

I want to close all open menus as each one new one is opened?

I tried what I thought would work but not knowing jQuery or javascript very well it was not happening!