$("#box a").eq(i).stop().fadeOut(1000).parent().children().fadeIn(500); $("#box a").eq(i).stop().show().siblings("a").hide();