Rapid access hover menus

The idea here is to provide rapid access deep into a site to mouse users, without burdening keyboard users with lots of extra links to tab through. For example, mouse users have rapid access to the "panther" page from the "cats" menu, whereas a keyboard user would go to the "cats" page and select "panthers" from some further navigation available there.

JavaScript is used to add/remove the submenus in order not to depend on the styling layer and in order to avoid the flickering associated with :hover.

This code example has been designed to be library-independent; similar implementations should be possible in the library of your choice.

Note: "birds" and "meat" do not have submenus in this example.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.