ChrisB: wie Status von overflow:auto; abfragen

Beitrag lesen

Hi,

Wenn ich ein DIV mit dem Style overflow:auto; versehen habe, wie kann ich dann in JS abfragen, ob das DIV gerade einen Scrollbar hat?

Dann wird sich scrollHeight/-Width von offsetHeight/-Width unterscheiden.

MfG ChrisB

--
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."