Jquery Vibrate

jQuery Vibrate Plugin is a jQuery component, self-contained, that allows you to have “vibrating” tags in your page, like buttons, DIVs, etc. It is very simple to use and integrate, and lightweight (only 3.54 kB in minified version)!

It was developed by albertoarena. You can see his version here and his demo site here.

I modified it to add the Vibrate for a fixed Period and a callback function when the vibration gets over. It is my very first jQuery Plugin and my very first fork on github. ☺ I used it in my game Tic Tac Toe Square when notifying users about incorrect move.

Demo

For Vibration based on events and triggers

Check out albertoarena’s website: http://www.dev4web.eu/projects/jquery.vibrate/

Fixed Period of Vibrate

Go here.