J
Jennifer
Hi all,
I made a page with a scrolling DIV (I change the "top" property to make
it scroll).
But if I try to select the text inside the DIV (longer than visible
page) and while selecting I make it scroll down, a mess happens.
In particular, the offsetHeight property keeps on retaining the "old"
top coordinate, but what I see is a div scrolled down after dragging
the mouse selection.
I found no other property to check that contains the new coords, so the
routine that scrolls the div uses the old coordinate and messes all up.
The same "div dragging undetectable movement" happens both in IE and
FF.
Can you help me? thx
I made a page with a scrolling DIV (I change the "top" property to make
it scroll).
But if I try to select the text inside the DIV (longer than visible
page) and while selecting I make it scroll down, a mess happens.
In particular, the offsetHeight property keeps on retaining the "old"
top coordinate, but what I see is a div scrolled down after dragging
the mouse selection.
I found no other property to check that contains the new coords, so the
routine that scrolls the div uses the old coordinate and messes all up.
The same "div dragging undetectable movement" happens both in IE and
FF.
Can you help me? thx