[Solved] How to get the slider to move back to its original position if a tab is not selected [closed]


Are you trying to do something like this?

 $(".item").on( "mouseout",function(){
       $("#slider").stop(); 
       $("#slider").animate({"left":$('#red').position().left+"px","width":$('#red').width()+"px"},500);
    });

15

solved How to get the slider to move back to its original position if a tab is not selected [closed]