Stuck in banners animation
Hello
I'm stuck with a simple script. Would you please help me? It's just working once.... :(
THANKS!
- jQuery(document).ready(function () {
- $('.banner-right .visible').fadeIn(400);
- function timeout_trigger() {
- $('.banner-right img.visible').fadeOut(400,function(){
- $('.banner-right img:not(.visible)').fadeIn(400, function(){
- $('.banner-right img.visible').removeClass('visible').siblings('.banner-right img').addClass('visible');
- });
- });
- }
- setTimeout(timeout_trigger,3000);
- });