scroll your page using scrollTop. This code will scroll your window with respect to top
-
<script language=‘javascript’>
-
function move_up() {
-
document.body.scrollTop = 0;
-
}
-
</script>
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
.
-
-
<body>
-
contents…
-
-
<a href="javascript:move_up()">top</a>
-
</body>
-
Post a Comment