📌  相关文章
📜  javascript go to div id - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:59.245000             🧑  作者: Mango

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

window.onload = scroll;