JQuery: A div content that scrolls endlessly?
<p>I have a simple JQuery function that makes a DIV's content scroll sideways, endlessly. It works fine, but when it reaches the end of the content, it keeps scrolling but nothing is shown, which is to be expected since the content is finished. I want to make it repeat, so it will never stop scrolling and when the content is done, it repeat itself.</p>

<p>So far, the only way that way I figured to do this is by duplicating the div content by many times, ie: </p>

<pre><code>var element = $("#divContent")
for(var x=0; x&lt;=50; x++)
    element.html( element.html + element.html );
</code></pre>

<p>I think this will work, but there's gotta be a better way of doing this.</p>
