10.15 Pull-Down Menus

As promised, in this section we describe pull-down menus. We introduced you to pull-down menu basics in the prior section, so some of this discussion should sound familiar. When a user clicks a pull-down menu’s down arrow, that causes a list of selections to appear below the down arrow. When the user clicks one of the selections, the list collapses and the selected value appears next to the down arrow. What follows is an example from the Dormitory Blog web page. It shows what happens when a user clicks the pull-down menu’s down arrow and then clicks the Copley Quad selection:

To implement a pull-down menu, you need a ...

Get Web Programming with HTML5, CSS, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.