O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

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

Project II: Using JavaScript to Talk Between Frames

Sure enough, there is a new issue that the boss wants you to look at on the Web site. Currently, on the bottom frame of the site that holds the main navigation, the graphics for the section you are in are highlighted (Figure 5-2). One of the other programmers has written the JavaScript to take care of changing the images when they are clicked on, but another problem has arisen that your boss needs you to take care of.

Figure 5-2. A Stitch secondary page's bottom navigation bar.

If the user clicks the forward or backward buttons of the browser instead of actually clicking on the navigation images, ...

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