摘要: 1.使用scrollIntoView方法 <li><a onclick="javascript:document.getElementById('user1').scrollIntoView();">user1</a></li> 1 2.使用js,如下: <!DOCTYPE html> <html 阅读全文
posted @ 2018-05-04 22:02 Booo 阅读(270) 评论(0) 推荐(0) 编辑