title: jQuery FadeIn efect changing image
body: <p>I have problem. I trying to change last image on div with new one by this code:</p>
  
  <pre><code>var rand = Math.floor(8*Math.random()+1);
  $("#foto-"+ rand).fadeIn("slow", function() {
      $("#foto-"+ rand).html('&lt;img style="position: relative;" height="100%" src="slides/'+ Math.floor(fotos*Math.random()+1) +'.jpg" /&gt;');
  });
  </code></pre>
  
  <p>This code change image, but no effect displaying.</p>