I’m re-designing our administration menu (its currently vertical and LONG/CONFUSING) so I wanted to do a condensed horizontal one instead. I’ve been fiddling with this for a week now and I’m about to rip my hair out.
Here is a version you can see:
Horizontal Menu with 3 submenus
My CSS can be viewed here:
Just a few quirks and I can’t figure out how to fix them. I’ll list them here separately:
Level 1 (the main buttons) are fine
Level 2 (Tina) looks fine
Level 3 (Tina/Inventory), the 3rd level options are BEHIND the level 2 ones. How do I get those in front of the level 2 stuff ? Ideally, I’d like level 3 to have the background color of #E4F683 and a hover color of #F6ED83 (for the Adjust On Hand, Component Report, Manage OOS)
Level 4 (Customers/Orders/Handpost), the level 4 stuff shows up when you hover over level 2… at that point level 3 should show, but level 4 should be hidden until you hover; same problem as above in that level 4 is behind level 3. Ideally, I’d like the background color of #E0F574 and a hover color of #AEC245 (Transaction, Shipping, Credit)
I really wouldn’t mind if the level 3/4 weren’t over level 2, but just lined up with them – this would fix the “behind/front” issue, but I can’t seem to figure how what to change to make it work that way
I’d also like levels 2/3/4 to not be quite so high (there’s quite a few more entries that I need to add), but I can’t seem to figure out how to change my css to fix that
If someone could help me re-write my CSS to work how I really intend it to, I’ll… well, I dunno, send you some cookies or something! I’ve looked and looked at this CSS til I’m cross-eyed!
I tried to post images to make it clearer but the system won’t let me.
Mahalo!
I have created this Fiddle, removing all tables.
HTML:
CSS & HTML on:
http://jsfiddle.net/andyjh07/cKnKL/
Please go to the misc menu at the end to see it in action (due to the small screen of jsFiddle)
Please feel free to nick the HTML and CSS codes as seems to be working 🙂