1、js定位div位置:(1)window.location.hash="标签名"
(2)javascript:document.getElementById('标签名').scrollIntoView()
<div>
<a onclick="window.location.hash='#aa_1'">a</a>
</div>
<div style="height: 500px;" id="aa_1">
<a href="http://www.baidu.com" title="aesfwaef;ah">bbbb</a><br />
<br />
</div>