Posted in Javascript onJanuary 10, 2009
1.自动转到命名记
<script laguage="javascript"> window.location.hash = "#bottom"; </script> <a name="bottom">底部</a>
2.自动定位到指定高度
<script laguage="javascript"> <!-- //function scrollwin() { //document.body.scrollTop var scroll_y = parseInt(1000); window.scrollBy(0, scroll_y); //} //--> </script>
javascript 自动转到命名锚记
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@