views:

30

answers:

1

I noticed this effect within both Apple's me.com service (the login page, if your user/pass is wrong it does the effect I'm trying to replicate) as well as within WordPress' login.

Its basically a JavaScript implementation of the effect when you type in the wrong username and password on a Mac.

Does anyone know if something like that has been implemented open source or via a jQuery plugin?

+3  A: 

You could use the jQuery UI 'shake' effect.

Example: http://jsbin.com/alozu4

$('#theElement').effect('shake', 100);
KennyTM