Html kodu: <img id="image" src="images/tree.jpg" />
Jquery kod;
$(function() {
$("#top").on('click', function() {
var position = $("#image").offset().top;
$("HTML, BODY").animate({
scrollTop: position
}, 1000);
});
});
C#,MVC,MSSQL,Windows Forms