Sayfa Load;
<script>
$(document).ready(function () {
if (window.location.hash) {
var hash = window.location.hash.substring(1);
var sy = $("#" + hash).offset().top - 100;
$('html,body').animate({ scrollTop: sy }, 'slow');
} else {
}
});
</script>
--------------------------------
JS KOD;
$(".linkAnchor").click(function (e) {
e.preventDefault();
var aid = $(this).attr("href").split("#");
var sy = $("#"+aid[1]).offset().top - 100;
$('html,body').animate({ scrollTop: sy }, 'slow');
});
C#,MVC,MSSQL,Windows Forms