avoid transition after hover js
问题 Hello i have this code: function goto(id, t){ //animate to the div id. $(".contentbox-wrapper").animate({"left": -($(id).position().left)}, 500); // remove "active" class from all links inside #nav $('#nav a').removeClass('active'); // add active class to the current link $(t).addClass('active'); } this code active the horizontal-scroll of the slideshow, and inside the single page of slideshow are presents more div (div1 , div2 , div3) and at each of div is attached this code: $("#div1")