javascript 学习杂记
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>