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

Analysis of the concept of web interaction behavior

Source: Shangpin China | Type: website encyclopedia | Time: July 16, 2014
Behaviour is a series of actions in a web page. Through these actions, users can interact with the web page, or perform a task. Generally speaking, an action should consist of an event and an action. For example, when a user moves the mouse over an image, an event is generated. If the image changes at this time, an action actually occurs.
1. Action
Actions usually consist of a piece of JavaScript code, which can be used to complete corresponding tasks, such as opening the browser, playing sounds and videos, etc. In Dreamweaver, you can use the built-in behavior of Dreamweaver to add JavaScript code to the page instead of writing it yourself. Of course, you can also modify the existing code to make it more suitable for your own needs.
2. Events
Events are usually defined by browsers. They can be attached to various page elements or HTML tags. Usually an event is always for a page element or tag. For example, onMouseOver, onMouseOut, and onClick events will occur on hyperlinks in most browsers. When the mouse pointer moves over the link, the linked onMouseOver will occur. Event: When the mouse pointer moves outside the link, the linked onMouseOut event will occur. When the link is clicked, the linked onClick event will occur. Combine events and actions to form a behavior. For example, associate the onClick event with a piece of JavaScript code, and you can execute the corresponding JavaScript code when you click the mouse.
Generally, the process of event generation is called triggering. Not all actions require user intervention. For example, you can specify an action to be executed every 10 seconds. Of course, this is actually triggered by an event, but this event is not generated by the user's own behavior. Sometimes there are multiple actions associated with an event, that is, when an event occurs, multiple actions will be executed. In Dreamweaver Website construction You can specify the sequence of these actions to achieve the desired results.
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]