O'Reilly logo

Absolute Beginner's Guide to Microsoft® Office FrontPage® 2003 by Kate J. Chase, Jennifer Ackerman Kettell

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

Understanding Behaviors

Behaviors are one of the biggest enhancements made to FrontPage 2003 over previous versions, and they go a long way toward making scripting easy to use for beginners and experts alike. Behaviors are a simple way to manage event handlers for objects. They automatically generate the client-side scripts and event-handler attributes for the elements that you add them to.

Behaviors consist of two parts: an event and an action. As we've already discussed, an event is something that occurs as a result of a browser or a user action. The action refers to the type of script that is called in response to the event.

You add behaviors to your elements using the Behaviors task pane, shown in Figure 14.4.

Figure 14.4. The Behaviors task ...

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