Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript go to div id

//slowScroll
function scroll() {
    $('html, body').animate({
        scrollTop: $("#divName").offset().top
    }, 2000)};

window.onload = scroll;
 
PREVIOUS NEXT
Tagged: #javascript #div #id
ADD COMMENT
Topic
Name
7+8 =