| I would recommend adapting this solution from A List Apart: The markup is a little cleaner -- you don't have to have classes on each UL and LI, you just use this markup: <ul id="nav"> <li> <ul>...</ul> </li> </ul> and CSS descendant selectors: #nav (main menu), #nav li (main menu items), #nav ul (submenu), #nav ul li (submenu items). Rather than using JS to show / hide the menus in IE, the only JS used is to add and remove the class "over" from the elements, so you can do it in almost-pure CSS, like this: whatever:hover, whatever.over { display: block } The CSS can be adapted for vertical or horizontal menus. Hope this helps! -- Brad Ediger Cell 479 228-1710 On Oct 17, 2006, at 3:30 AM, Tim Bellinghausen wrote:
|
