9,937
edits
Changes
m
function getOffset(el) {
el = el.getBoundingClientRect();
return {
left: el.left + window.scrollX,
top: el.top + window.scrollY
}
}
no edit summary
/* end rotaing banner */
var klsdfjk p-position = getOffsetdocument.getElementById("p-advertisement").top;alertconsole.log(klsdfjkp-position.offsetTop);
/*