function offsetTopele( elements ){
function offsetTopele( elements ){
var top = opments ;
varparent = elements.offsetParent;
while(parent != null){
top =parent.offsetTop;
parent =parent.offsetParent;
};
回頂部;
};
function offsetLeft( elements ){
var left = elements.offsetLeft;
varparent = elements.offsetParent;
while(parent != null){ .offsetLeft;
parent =parent.offsetParent;
};
返回父級;
};