title: Stop a marquee 5 seconds for every 10 seconds
body: <p>I want to create an marquee that start at first, but every 10 seconds, the marquee will stop for 5 seconds before the marquee start again.</p>
  
  <p>How can I do that?</p>
  
  <p>I only manage to create a timer that stop the marquee after 5 seconds : </p>
  
  <pre><code>&lt;script&gt;
      function startLoop() {
      setInterval( "doSomething()", 5000 ); }
      function doSomething() {
      document.getElementById('myMarquee').stop(); }
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;body onload="startLoop();"&gt;
     &lt;marquee direction="right" id="myMarquee"&gt;This is a marquee.&lt;/marquee&gt;
  &lt;/body&gt;
  </code></pre>