6.5. Generating menus with mouse over

As the final section in this chapter we will show you how to use the mouse techniques that you have learned to build a menu system in window style. For simplicity, we will restrict ourselves to building a menu with just one header item. It should not be too difficult to extend this idea to more complex applications.

6.5.1. Pull-down menu (window style) using XHTML

One popular menu system used in windows is called the “Pull Down Menu.” This is usually a series of menu items (or headers) on top of the application. When your mouse runs over one of the menu headers, a pulldown menu section is displayed to show more options. Since pull-down menus are essential in window programming, there are a variety of tools ...

Get Practical Web Technologies 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.