O'Reilly logo

Javascript for the World Wide Web: Visual Quickstart Guide, Fifth Edition by Tom Negrino, Dori Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required