jump to a div in javascript 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;