I can't determine the clientwidth i actually see.
My client area is larger and has a scrollbar.
For tooltip-panel alignment ( ~ if left+width > clientwidth then left = clientwidth - width) i would like to know the size of the client i really see.
This is giving me the total clientwidth, not the smaller clientarea..
var clientwidth = document.body.scrollWidth;
My client area is larger and has a scrollbar.
For tooltip-panel alignment ( ~ if left+width > clientwidth then left = clientwidth - width) i would like to know the size of the client i really see.
This is giving me the total clientwidth, not the smaller clientarea..
var clientwidth = document.body.scrollWidth;
Comment