returns top element position related to window
obj | string|number|HTMLElement | object or id |
number | top element position |
var t = document.getElementById("someId");
var y = window.dhx.absTop(t);
// or
var y = window.dhx.absTop("someId");
Back to top