
We have already explored behaviors in my article: Adding Behaviors to page elements in Microsoft Expression Web 2. A behavior is a combination of an event and an action that occurs when a user interacts with the web page or any element of the page. Behaviors in Microsoft Expression Web are time saving scripts that enable you to easily add some common tasks that could be performed by interactivity. With that basic knowledge, now we will see how to swap images by user interaction.
|