Sửa đổi hành vi Sau khi bạn tạo ra một hành vi, bạn có thể nhanh chóng và dễ dàng thay đổi các tham số cho các hành động hoặc sự kiện này mà gây ra hành động. Khi bạn hoàn thành thay đổi hành vi, tất cả các lần xuất hiện của các hành vi trên trang được cập nhật. | Editing Behaviors After you create a behavior you can quickly and easily change the parameters for the action or the event that triggers the action. When you complete your changes to a behavior all occurrences of the behavior on the page are updated. If other pages use the same behavior you need to update the behavior on each page. Edit the Parameters for a Behavior Open the Web page with the behavior you want to change. Click the Window menu and then click Behaviors to display the Behaviors panel. Select an element on the Web page that contains an attached behavior or if the behavior is attached to the document click the body tag in the tag selector at the bottom left of the Document window. The behaviors attached to the element appear in the Behaviors panel. Select the specific event for the action that you want to edit. Click the Behaviors Options button and then click Edit Behavior. TIMESAVER Double-click the event to open the dialog box you can also select it and then press Enter Win or Return Mac . In a behaviors dialog box make the changes you want the dialog box options differ depending on the behavior. Q Click OK. 356 Chapter 15 Change the Event for a Behavior Open the Web page with the behavior you want to change. Click the Window menu and then click Behaviors to display the Behaviors panel. Select an element on the Web page that contains an attached behavior or if the behavior is attached to the document click the body tag in the tag selector at the bottom left of the Document window. The behaviors attached to the element appear in the Behaviors panel. Click the specific event that you want to edit. Click the Event list arrow and then select the event you want to trigger the action from the available options. Chapter 15 Working with Behaviors 357 Working with Behaviors Behaviors you have attached to a selected page element appear in the Behaviors panel in the behaviors list by event in alphabetical order. If you have multiple actions for a specific event