There is already a jQuery plugin for what you are looking for. Take a look at http://menu.n2cms.com/
It's not perfect, but it's a good place to start. Rick Faircloth wrote:
Hi, all... Well, I've finally given in and after 10 years of web design, I'm ready to create my *first* horizontal menus. I've always used vertical menus because of their expandability, but I need some design flexibility. So the question is... what's the best way to build a horizontal menu where each link has a corresponding horizontal sub-menu? jQuery? CSS? Combination? Thanks for any advice... Rick