How to create the effect of mouse shaking over a picture by Dreamweaver
This article is about how Dreamweaver creates the effect of mouse shaking over a picture. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The method is as follows
1, behavior requires three steps, the first is to need the object, that is to say, to select the object. Take the picture of the head of a web page as an example. Click to select.
2. Add actions. Click the window\ behavior to open the behavior setting function on the right side of the window.
3. Click the + sign to increase the movement action in the behavior, and select the effect\ sloshing under the + sign. In the sloshing dialog box, select the target element, the current selection, and make sure. This adds an action to the picture.
4, adjust the event, the general software default event is click, that is, shake in front of the onclick, if you want to change to the mouse over the shake, it is necessary to change the previous event to onmouseover, so that this behavior is set.
5. Save the preview and you can see the effect we want. If you need other events, you can adjust it directly in front of the action.
Thank you for reading! This is the end of the article on "how to make the mouse through the picture shaking effect of Dreamweaver". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!