摘要: 一、锚点 <p id="firstAnchor"> 锚点 </p> <a href="#firstAnchor"> 跳转 </a> js 控制 1、location.href = "#firstAnchor"; // firstAnchor为锚点名称 2、window.location.hash = 阅读全文
posted @ 2017-10-11 11:36 半天的半天 阅读(2627) 评论(0) 推荐(1) 编辑