Skip navigation

What is this?

This is a pop-up menu system, written entirely with CSS. No JavaScript used.

This menu works correctly on user agents (AKA browsers) that correctly understand W3C specifications about CSS. Look at screenshots section to see how browsers display this page.

Features

Limitations

Bugs

There may be some "rounding" errors, and some items being moved one or two pixels when mouse is over the menu. This is a minor bug, and does not affect menu behavior.

Another possible bug existent in all drop-down menus is "mouseOut" being triggered when the user is moving the mouse over the menu. This is avoided in this menu by overlapping child-menu and parent-menu some pixels.

The shadow won't work on browsers without PNG Alpha support.

When we enable enlarger feature and we don't specify a fixed width for horizontal menu items, then Firefox will change their width when moving mouse over them. If we specify a fixed width, the text position will be changed (will not be always centered).

Sometimes Firefox 1.0 will display a menu item box taller than needed to display the text inside it. Fixed in Firefox 1.5.

Opera 8 does not respect the z-index: 2 in enlarger code. So, enlarged menu item will be displayed behind the menu item at right of it. Fixed in Opera 9.

IE users

As someone said at #CSS channel on FreeNode: IE is an insult to W3C standards!

IE is the browser (if we can call it as browser) that most misunderstands W3C standards (in special, CSS).

All IE users are advised to stop using that piece of crap and start using Opera, Mozilla Firefox or any other decent browser.

Screenshots

I must really thank Tarquin Wilton-Jones for sending me 5 screenshots for platforms I don't have access to.

Links

Final notes

This menu was first based on another menu a friend copied from somewhere. However, I rewrote almost everything, and this can be considered a "new" menu, not based on any other.

Thanks to all people who created CSS effects and menus before me. Some ideas I "stole" from countless menus and CSS tricks I saw.

This menu and all related CSS is completely free. Feel free to use it anywhere you want. Don't abuse it, though :).

Who am I?

My name is Denilson, I'm a Computer Science student at UFRJ. I live in Rio de Janeiro, Brazil.

You can contact me. Sometimes you can find me at FreeNode or Opera IRC, with nickname CrazyTB