|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
HTMLElement2 scrollingThe problem appears if I set the screen resolution to 1024x768. = IHTMLElement2.scrollTop doesn't work. I can't scroll the document, but = there's an ability to scroll it. // Immediate window ihtmlElement2.scrollHeight // try to get possible scrolling area 1010 ihtmlElement2.scrollTop =3D 10 // try to set scrolling value 10 ihtmlElement2.scrollTop // try to get scrolling value 0 // it wasn't set in the previous command Maybe it is due to ihtmlElement2.clientHeight is 1122, and even most = likely. But why is it so? And what should I do to set the clientHeight? Could anybody please describe that behavior of IHTMLElement? Best regards, Andrey Dzizenko. |
|||||||||||||||||||||||