title: Blinking DIV for 5 seconds and then hide it after 1 second using jQuery
body: <p>I have a <code>&lt;div&gt;</code> which I am "blinking" every 5 seconds, here is my code:</p>
  
  <pre><code>var blink = function() {
      $('.leftArrowMask').toggle();
  };
  
  $(document).ready(function() {
      setInterval(blink, 5000);   
  });
  </code></pre>
  
  <p>I would like to change this so the blink effect happens every 5 seconds, but only blinks for say 1 second. Currently it stays visible for a 5 second duration, and then hides for 5 seconds.</p>
  
  <p>I have tried the code above, but I don't think that's quite right. How can I achieve what I require?</p>