Breaking down Amazon’s mega dropdown

Smart and simple.

Q: How to open sub menu immediately without waiting time out?

A: By analyzing mouse direction: if user goes in sub menu direction, keep it open otherwise switch submenu as soon as mouse leaves menu item.

Breaking down Amazon’s mega dropdown – Ben Kamens.