safalkishore
07-12-2003, 07:19 AM
All i want to know is if we have control over the onscroll event.I know that one can call a event handler on the div onscroll event.But what i want to know here is if i am scrolling upwards or down on the DIV.How could i know the same ?
I want to know how one can control the scroll of a div
Suppose i have a div of a fixed height.I construct a table and write the same into the DIV (div.innerHTML).Now i see a vertical scroll bar
I want to add or remove rows to the table on the onscroll event
When i sroll down i want to add rows and at the same time when i scroll up i want to reomve rows .Is this possible.
Any help would be appreciated
I want to know how one can control the scroll of a div
Suppose i have a div of a fixed height.I construct a table and write the same into the DIV (div.innerHTML).Now i see a vertical scroll bar
I want to add or remove rows to the table on the onscroll event
When i sroll down i want to add rows and at the same time when i scroll up i want to reomve rows .Is this possible.
Any help would be appreciated