Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Dreamweaver Behavioral events

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail how to use Dreamweaver behavior events, Xiaobian thinks it is quite practical, so share it for everyone to make a reference, I hope you can gain something after reading this article.

Dreamweaver MX 2004 behaviors place javascript code in documents to allow visitors to interact with Web pages to change page actions or perform certain tasks in a variety of ways. A behavior is a combination of an event and an action triggered by that event.

Now, let me give you an example. Move the cursor over the picture. To its right, it displays something else (animation). Please test it with your mouse, and then we will analyze the process.

Please operate the mouse to move in and out of the flower

These are two behaviors: Behavior 1: Move into Display; Behavior 2: Move Out of Hide.

Events are: mouse in and out. Action is: Show and Hide.

The specific operation is as follows:

1. Insert a picture into the page, in this case a chrysanthemum picture.

2. Insert a layer in the page and paste several animated characters.

In the Layers pane, set the layer to hidden. Not displayed when the page is opened. Layer panel status,

3. Click on the image to open the Behavior Panel (Window menu> Behaviors). Press "" in the Behavior panel and select Show-Hide Layers in the pop-up menu

Dreamweaver MX 2004 behaviors place javascript code in documents to allow visitors to interact with Web pages to change page actions or perform certain tasks in a variety of ways. A behavior is a combination of an event and an action triggered by that event.

About "Dreamweaver behavior event how to use" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report