Chapter 14: Applied JavaScript

Return to Chapter 14

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Adding Pull-Down Menus

See it run: Adding Pull-Down Menus

Script 14.4

This CSS styles the menus in the last task as pull-down menus.

Script 14.5

This JavaScript turns your everyday links into pull-down menus.

Script 14.6

By adding one line of CSS, you get an entirely new look to your menus.