jQuery实现锚点滑动定位

go=function(index){
var top = $('#caseNewGuide' + index).offset().top;
$('html, body').animate({
scrollTop: top
}, 500)
}

posted on 2017-04-07 18:22  王子乔  阅读(4688)  评论(0)    收藏  举报

导航