title: endless marquee
body: <p>Ok I have this html</p>
  
  <pre><code>        &lt;marquee scrollamount="6"&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/03.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/04.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/05.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/06.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/07.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/03.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/04.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/05.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/06.gif" /&gt;&lt;/a&gt;
              &lt;a href="javascript:void(0)" &gt;&lt;img src="images/banner/07.gif" /&gt;&lt;/a&gt;
          &lt;/marquee&gt;
  </code></pre>
  
  <p>this marque moves my images from right to left.</p>
  
  <p>my question is, is there a way to know if the element is hidden already?</p>
  
  <p>I'm planning to get the element that goes out of view then append it as last element of <code>&lt;marquee&gt;</code>. I want to get an endless marquee. Please help me, I'm stuck.</p>