有乐2017fuli http://www.iyoule.com/static/authornews/nv.html
scroll的用法 更简单可以用锚点 href="#1" div_ id=1
scrollIntoView()方法 document.getElementById("button1").onclick = function() { document.getElementById("block").scrollIntoView(); };
有乐2017fuli http://www.iyoule.com/static/authornews/nv.html
scroll的用法 更简单可以用锚点 href="#1" div_ id=1
scrollIntoView()方法 document.getElementById("button1").onclick = function() { document.getElementById("block").scrollIntoView(); };