offsetTop returns a value relative to offsetParent ; you need to recursively add offsetParent.offsetTop through all of the parents until offsetParent is null .
確定! 回上一頁