slideshow with fade-in and fade-out (jquery)
<p>please help me and tell me what's wrong here....
also i dont want to use jq plugin
when i setInterval the code the pictures are coming with a different way
sorry for my bad english</p>

<pre><code>&lt;code&gt;
    $(function(){
        function slideshow(){
        $('.img4').fadeOut(2800,null,function(){
                $('.img3').fadeOut(2800,null,function(){
                    $('.img2').fadeOut(2800,null,function(){
                        $('.img1').fadeIn(2800,null,function(){
                            $('.img2').fadeIn(2800,null,function(){
                                $('.img3').fadeIn(2800,null,function(){
                                    $('.img4').fadeIn(2800,null,function(){
                                        $('.img4').fadeOut(2800)
                                    })
                                })
                            })
                        })
                    })  
                })
            })
        }
        //slideshow()
        setInterval(slideshow,1000);

&lt;/code&gt;
</code></pre>
