Jquery Shake effect every 10 seconds

asked Dec 7, 2012 in General by Mrnewguy
Hi ..

Using Jquery, I want to run the shake effect every 10 seconds, I don’t want it to be clickable. I have the shake effect in my code but  I am not sure how to make the 10 sec shaking intervals, can anyone please help


1 Answer

0 like 0 dislike
answered Dec 7, 2012 by FixHost
Use this code
      setInterval(function() {
            $( "#toggle" ).effect( "shake" );