日期:2014-05-17  浏览次数:20684 次

html中锚点的使用

指定一个锚点

例:?

<p name="top">锚点位置</p>

<div stype="height=1000"></div>

<input type="button" value="滚动到锚点位置" onclick="javascript:window.location.hash='#top' "/>

对滚动特效有帮助..

?

?