Chapter 15. User Interface Design with JavaScript

In past chapters, you've seen how JavaScript is great for making things happen on Web pages. But Web sites must ultimately serve their users, and there are many ways in which you can use JavaScript to enhance the user experience by improving the user interface of your sites.

Modern operating systems have trained users to expect certain behaviors in response to their actions. For example, when people see a row of words at the very top of a screen, they recognize it as a menu bar, and they expect pull-down menus. You won't find such things as part of the basic HTML toolkit, but you can accomplish the effect with a well-turned JavaScript. The reason that we have to do this sort of backing-and-filling ...

Get Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.