go to id js code example
Example: javascript go to div id
//slowScroll
function scroll() {
$('html, body').animate({
scrollTop: $("#divName").offset().top
}, 2000)};
window.onload = scroll;
//slowScroll
function scroll() {
$('html, body').animate({
scrollTop: $("#divName").offset().top
}, 2000)};
window.onload = scroll;