jRumble is a jQuery plugin that rumbles, vibrates, shakes, and rotates any element you choose. It’s great to use as a hover effect or a way to direct attention to an element. You can control the X, Y, and rotation range, the speed, and event trigger for the rumble.
Note: jRumble is currently a little buggy in Internet Explorer. A rumbleSpeed of 0 seems to break the rumble. Also, there is currently no rotation on any objects in IE.
Include jQuery and jRumble
Include jQuery and jRumble just before your closing body tag. Make sure the path to your files is correct. I recommend including through Google Libraries API.
Reference jRumble on a Selector
You can do this in a script tag within your HTML or through an external JavasScript file