html编程 如何让滚动条的位置自动滚动到页面底部,谢谢
<html>
<head>
<script language=javascript>
function s(){
var c = window.document.body.scrollHeight;
window.scroll(0,c);
}
</script>
</head>
<body onload="s()">
<div style="height:10000 px;"> </div>
</body>
</html>
<html>
<head>
<script language=javascript>
function s(){
var c = window.document.body.scrollHeight;
window.scroll(0,c);
}
</script>
</head>
<body onload="s()">
<div style="height:10000 px;"> </div>
</body>
</html>