This article mainly introduces the menu jitter effect of jQuery for webpage jitter, and the jitter effect of menu items visible when the mouse slides over the menu items, involving jquery mouse events and dynamic operations of page element styles, for more information, see the following example. Share it with you for your reference. The details are as follows:
The jQuery jitters navigation menu is compatible with IE7/8/9 and other mainstream browsers. usage: Introduce the jQuery Script Library and jquery first. shake. js file, and then call the shake () method on the required elements. for example, to make the whole page jitter, write: $ ('body '). shake (), after calling the above method, move the mouse to the specified element, and the element will shake.
The running effect is as follows:
The code is as follows:
JQuery jitter navigation menu effect