Now let’s learn specifically about script.aculo.us Shake Effect
Shake Effect causes the Target image to move back and forward three times. Let’s see practical implementation of this effect along with HTML.
new Effect.Shake('id_of_element', [options]); OR new Effect.Shake(element, [options]);
Output: When you click on that text, the image will shake.