Cracking The Code Of Amazon's Instant Pulldown Menu

Say what you will about Amazon (NASDAQ: AMZN), but it's an impressive operation when it comes to sweating the details. One such design innovation from Amazon—it's ultra-smooth, almost instantaneous-responding pulldown menus—was driving one developer crazy, until he (possibly) figured out how Amazon's people did it. The developer is Ben Kamens, who is lead developer at Khan Academy, and this is his theory on the pulldown magic, along with his suggested code for replicating it. The trick appears to be not that different from Amazon's gravity-based link assist Patent, where the system anticipates where the cursor is headed and opens the pulldown a split-second before the cursor gets there, making it feel like an immediate response.

Pulldowns have always been an efficient programmer tool (lots of content, minimal space), but never a shopper favorite. They are typically infuriating to use, with the submenus disappearing as the cursor tries to get there to click. Amazon's approach fixes this issue, too, because the submenus politely stay there, assuming the shopper's click will eventually arrive. Hats off to Mashable for first spotting this.

Suggested Articles

Costco changes up its menu items, and Alibaba and Guess partner for a physical store.

Janey Whiteside, Walmart's new chief customer officer, is well acquainted with the importance of customer service in modern retail.

Whole Foods will offer deals on Amazon's Prime Day, and tariffs against China are causing pricing hikes.