bia2004
02-01-2004, 01:45 PM
:confused:
I display records from a table in an ASP page. When the window is full, the scroll appears. but at refresh of this window, the scroll jump up at the top of the page, it doesn't stay down, and i can't see the last few lines.
i used :
<head>
.......
<script language="javascript">
function scroll()
{
x=document.body.scrollHeight-document.body.clientHeight;
return x;
}
</script>
...........
</head>
<body>
<script language='javascript'> this.scrollTo(0, scroll()) </script>
........
<body>
I need some help, please!please, i need some help!
I display records from a table in an ASP page. When the window is full, the scroll appears. but at refresh of this window, the scroll jump up at the top of the page, it doesn't stay down, and i can't see the last few lines.
i used :
<head>
.......
<script language="javascript">
function scroll()
{
x=document.body.scrollHeight-document.body.clientHeight;
return x;
}
</script>
...........
</head>
<body>
<script language='javascript'> this.scrollTo(0, scroll()) </script>
........
<body>
I need some help, please!please, i need some help!