You can watch Element dimension and position in browser window, such as clientWidth
, scrollWidth
, offsetLeft
, screenX
, ...
- Easy to test these properties in different browsers.
- Could drag and resize element to update position and dimension.
- Could track mouse event.
- Could track window event.