Hi all:
I need to control the vertical scrollbar tion of a page when the user hits an arrow. The problem is that the page is like a list or text area control and the behavior should be like this: only when I'm at the bottom of this list the scroll should go down and not at every hit of the arrow. Every item of the list is a DIV element, so I've intended to scroll at a certain position depending on the DIV viewed but I can't manage to work it. How can I know if the DIV is within the viewed area?
I dont't know if that's the best way to do it so if you think there's a better way it'll be welcome.
Thanks,
Marc
I need to control the vertical scrollbar tion of a page when the user hits an arrow. The problem is that the page is like a list or text area control and the behavior should be like this: only when I'm at the bottom of this list the scroll should go down and not at every hit of the arrow. Every item of the list is a DIV element, so I've intended to scroll at a certain position depending on the DIV viewed but I can't manage to work it. How can I know if the DIV is within the viewed area?
I dont't know if that's the best way to do it so if you think there's a better way it'll be welcome.
Thanks,
Marc