Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Jquery Shake effect every 10 seconds

Dec 7, 2012 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 votes
Dec 7, 2012 by FixHost
Use this code
      setInterval(function() {
            $( "#toggle" ).effect( "shake" );