Chapter 11. Context-Sensitive Help

Application FeaturesJavaScript Techniques
• Online Help Application• Controlling Remote Windows
• JavaScript “Intelligence” Automatically Loads Content Related to Current Screen• Using Links Without the Click
• Extra Info Display with Mouseovers• Layers Without LAYER Tags

No matter how easy you think you’ve made a program to use, someone will inevitably get stuck or have a question. Some user questions have obvious answers. Others can trip you up, and you’re the one who wrote the thing! Depending on the quality, online documentation can either get users back on track quickly or derail them even further. The help files have to be easy to use, too. That’s what this application is all about.

Not just easy for the user to navigate, but easy for you to set up and maintain. This is another one of those applications that, in and of itself, serves little purpose. Yet just like the application in Chapter 7, the code within it can be dropped into one of your applications to work for you.

I named the application Select List JavaScript; it demonstrates some of the visually unimpressive but useful things you can do with JavaScript and selectlists. Figure 11.1 shows the opening interface.

Select List JavaScript

Figure 11-1. Select List JavaScript

This application shows how selectlists can change background color, load documents, and populate other ...

Get JavaScript Application Cookbook 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.