錨點定位,jquery定位到頁面指定位置

jquery錨點定位html $('body,html').animate({scrollTop: $('#ter1').offset().top}, 500); #ter1是你要定位的id對象, 500是0.5秒執行完成
相關文章
相關標籤/搜索