Warning: This plugin is deprecated. The shake effect is now part of the latest
JQueryUI. So use
jQuery("#id").effect("shake", {times: 3}, 100);
instead.
jQuery plugin to emulate “shake” on login failure in OSX login box.
Usage
Call
$("<selector>").shake(shakes, distance, duration)
to shake the selected elements.
Options:
- shake: amount of shakes
- distance: shake distance
- duration: duration of the effect
Examples
Error: no such plugin shake
Shake it, baby
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse ornare fringilla est, eget condimentum quam auctor quis. Curabitur vitae nibh eu nisl scelerisque facilisis. Vestibulum posuere pretium magna, eu pulvinar libero cursus in. Phasellus tortor dui, viverra vitae molestie a, aliquam quis risus. Mauris fringilla mattis ligula, et laoreet dui rhoncus vel. Aliquam bibendum, nisi nec pellentesque convallis, augue elit rutrum sapien, nec molestie augue mauris et tellus.