$(".myClass").click(function() {
window.location.replace("#goToDiv");
});
My code is in here. When i click .myClass button, the user goes to #goToDiv. But I want the animation for this. For example, it can go like transitive passing. How can I use animation for this?