12. Applied JavaScript

In This Chapter

Using Sliding Menus 286

Adding Pull-Down Menus 289

Enhancing Pull-Down Menus 293

A Slideshow with Captions 297

A Silly Name Generator 301

A Bar Graph Generator 306

Style Sheet Switcher 315

In earlier chapters in this book, you learned how to use dozens of JavaScript techniques to accomplish many specific tasks. On many Web pages that you build, you’ll often need just one technique, and you’ll be able to use a script from this book (usually with some minor modifications) to get the job done.

But sometimes you’ll need to use more than one technique to get the job done on your pages. That’s where this chapter comes in. The tasks you’ll find here require a variety of approaches and are similar (in spirit, if ...

Get JavaScript: Visual QuickStart Guide, Eighth Edition 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.