Blog

« Back

Very short and simple jQuery slider without plugin with fade effect

Author: Milen Hristov
Created on: 07.03.2013 23:41

This is an example of how can you create a fade slider with jQuery without including plugings.

$("#slider  > a:gt(0)").hide();
setInterval(function() { 
        $('#slider  > a:first')
   	.fadeOut(1000)
   	.next()
    	.fadeIn(1000)
    	.end()
    	.appendTo('#slider');
},  5000);




No comments

Comments

Name

E-mail

Comment

Enter the text from the image

Blog tags