how to shake a window


I would like to shake a login window when the data entered are incorrect. (as in with jquery)
I’m not able to do it.
I tried within a loop to use setPositionX but I don’t see the window moving.( I only see the result of all the setPositionX )
I tried also with the Animator plugin without success.
(a loop with Animator.animate(this, new Css().translateX(“…”)).delay(1000).duration(2000); )
Does anybody have an example or an advice?

Many Thanks


One way to do this would be to create an extension for that purpose. The concept would be very simple, just send a signal to the client extension that it should shake the extended window for some amount of time using a timer.

// Johan