G
Gregor Kofler
I want to do my own vertical (or whatever direction) smooth expand of a
block element. The simple approach so far: create and fill container
element. Set element.style.height to 0px, overflow hidden, and use a
timeout callback to increase element.style.height, until it matches
element.scrollHeight. However, scrollHeight is MSDOM. Is there a W3C
compliant alternative? Or a smarter approach altogether?
Gregor
block element. The simple approach so far: create and fill container
element. Set element.style.height to 0px, overflow hidden, and use a
timeout callback to increase element.style.height, until it matches
element.scrollHeight. However, scrollHeight is MSDOM. Is there a W3C
compliant alternative? Or a smarter approach altogether?
Gregor