MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

Website production skills

Source: Shangpin China | Type: website encyclopedia | Time: 2015-06-13
Generally speaking, an action should consist of an event and an action. For example, when the user moves the mouse over an image during website creation, an event will occur. If the image changes at this time, an action will be executed accordingly.

An event is usually defined by a browser. It can be bound to various page elements or HTML tags. Usually an event is always for the meta home or tag of the page. For example, blue events such as onMouseOver, onMouneOut and onCLick will occur on. hyperlinks in most browsers. When the mouse moves over the link, the onMouseOver event of the link occurs. When the mouse moves away from the link, the link.nMuaeOut event occurs. When the mouse clicks the link, the onClick event of the link occurs. Another common event is onLoad. It is associated with the image or document body. When a document is loaded, the document occurs. Positive images occur when manned images are taken. NLoad event.

Actions are usually composed of a piece of JavaScript code. This code can be used to complete the corresponding tasks, such as opening the browser, playing music or video preview. You can use the behavior in Dreamweaver 8 to add JavaScript code to the page without having to write it manually. For Java Seript code developers can also write code to make it more consistent
Design requirements.

1、 Behavior Panel

The combination of events and actions constitutes behavior. Dreamweaver 8 provides about 20 more behavioral actions, except Macromedia. Users can also find more behavior libraries on third-party developers' websites. The user needs to edit the behavior. Add the behavior to the page season. The pillow must understand the "behavior" panel. Select Sample I-I window I-I behavior] command, or directly press the (Shfit+F3] key to open the "behavior" panel. The behaviors that have been added to the current page will be displayed in the behavior list in alphabetical order of events. If the same event corresponds to multiple actions, the states will execute these actions in the order of the list. In the "Behavior. Panel", there are two leftmost buttons. One is to display and set events, and the other is to show all events. Click the "Add." symbol button to open a pop-up menu. The menu contains information that can be attached to the currently selected element Behavior. When the user selects a behavior from this menu, a dialog box will pop up, in which the user can specify the line Parameter for. If all commands are grayed out, no behavior can be applied to the selected page element. Click the "minus" symbol button to divide the selected behavior from the behavior list. The [Up] button is to move the order of the selected actions of a specific event up one grid in the behavior list. You can change the order of actions for a specific event. For example, you can change the order of the occurrence of multiple actions of the onLoad event. But all. Load actions are together in the behavior list. The arrow button will be disabled for actions that cannot move up or down in the list.! Down] button moves the selected action of a specific event down one grid in the action list.
 
II . Nadine's behavior

Adding behavior to a page or an element in a page is usually called behavior binding. Users can bind the behavior to the entire document, link, image, form object, or any other HTML element. The browser determines which elements can accept behavior and which elements cannot. Inlernel Explorer 4.0 and higher browsers support the most event types. It has become the most widely used browser at present.
 
3、 Modify added behavior
 
The user can modify the behavior of Panga. Make it more consistent with the design requirements. Select the object containing the behavior you want to modify, select the behavior you want to modify in the Behavior panel, and double-click the behavior. The dialog box corresponding to the behavior will open. Reset the behavior parameters. Click OK to modify the behavior.
 
IV Dreamweaver's internal work behavior
 
The built-in behavior of Dreamweaver 8 is carefully written. If you can make good use of it. You can create a fine and colorful web page. Dreamweaver 8 provides many internal It behaviors, which can basically meet the needs of ordinary users. Click the plus button on the Behavior panel to open the behavior menu.
 
5、 Set, applicable, browsing time of pieces

It supports different types of events. Therefore, before applying behavior in the page, you should First, determine which browsers will be used by people browsing the web.
 
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]