title: jQuery how to make event occur every x seconds?
body: <pre><code>$("#clickMe").click(                                    
       function(){   
            if (i == 1) {            
                 i = i+1
                 $("#div p").css("left", "-" + width * i + "px");  
              }
  });
  </code></pre>
  
  <p>As you can see -margin changes when somebody clicks a button. What if I want it to happen just on site load every 10 seconds?</p>
  
  <p>Thanks.</p>