Breaking down Amazon’s mega dropdown
The hover effects on Amazon’s big ‘ole “Shop by Department” mega dropdown are super fast. Look’it how quick each submenu fills in as your mouse moves down the list: It’s instant. I got nerd sniped by this. Most dropdown menus have to include a bit of a delay when activating submenus. Here’s an old Khan Academy dropdown as an example: See the delay? I love bootstrap, don’t get it twisted. It’s easy to move the cursor from Amazon’s main dropdown to its submenus. If the cursor moves into the blue triangle the currently displayed submenu will stay open for just a bit longer. At every position of the cursor you can picture a triangle between the current mouse position and the upper and lower right corners of the dropdown menu. And if the cursor goes outside of the blue triangle, they instantly switch the submenu, giving it a really responsive feel. I think it feels snappy. If anyone else on the planet ends up finding a use for jQuery-menu-aim, I’d be grateful to know what you think.
• code & programming