js添加锚点
<div name="1F" id="1F"></div>
<div class="top_img displayno">
<a href="javascript:void(0);" onclick="naver('1F')"><img src="top.png" alt=""></a>
</div>
function naver(id){
var obj = document.getElementById(id);
var oPos = obj.offsetTop;
return window.scrollTo(0, oPos);
}