blob: a0bac5f6a66058fd2bd5881065ca8c0160b42660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!DOCTYPE HTML>
<html>
<body style="margin:0" onload="doTest()">
<div style="height:1205.6px"></div>
<div id="d" style="height:0.6px; background:red"></div>
<script>
function doTest() {
window.scrollTo(0, document.documentElement.scrollTop);
}
</script>
</body>
</html>
|