标签:lin view blog title document ntb style class code
scrollIntoView()窗口滚动 1、某DIV窗口滚动到顶部: document.getElementById("某DIV的ID").scrollIntoView(true); 2、某DIV窗口滚动到底部:
document.getElementById("某DIV的ID").scrollIntoView(false);
标签:lin view blog title document ntb style class code
原文地址:http://www.cnblogs.com/llljpf/p/7129160.html