Auto Scroll JS Slideshow Is Not Working
<p>I have a code snippit I found for a autoscroll js slideshow. I pasted the script in front of the "". And also made sure I closed the div. I have a folder called images with images "case1.jpg, case2.jpg, case3.jpg, and case4.jpg" inside of it.
From this, I cannot tell why the script is not working.
Here is the script.</p>

<pre><code>&lt;script type="text/javascript"&gt;
var images = new Array('case1.jpg', 'case2.jpg', 'case3.jpg', 'case4.jpg');
var count = -1;

function slideShow() {
    if (count &lt;= 2) {
        count++;
    }
    document.getElementById("show").innerHTML = "&lt;img src="images/"+images[count]+""&gt;";
    setTimeout("slideShow()", 3000);
}​    &lt;/script&gt;
</code></pre>

<p>And the HTML is just...</p>

<pre><code>&lt;div id="show"&gt; 
&lt;script&gt;slideShow()&lt;/script&gt;
&lt;/div&gt;
</code></pre>
