Change Image with transition effects
<p>I have the following script that changes my image on a timer:</p>

<pre><code>var da = setInterval( function() {

    var current_image = document.getElementById('node_picture').src;
    var image_index = current_image.substring(48,49);
    image_index++;

    if (image_index &gt; 4) {
        image_index = 1;
    }

    document.getElementById('node_picture').src="img/node/&lt;?php echo $node_id ?&gt;/" + image_index + ".png";

}, 4000);
</code></pre>

<p>I am trying to add a jQuery FadeIn() effect. I tried to add</p>

<pre><code>$('node_picture').FadeIn();
</code></pre>

<p>but that does not work.</p>

<p>Thanks,</p>
