how does php call this output in return ...
can you explain how this code works? In particular, how are several return implemented? ...
to get the height offset of the element according to body, write the following function: function getTop(ele){ var top=0; function getEleTop(ele){ top+=ele.offsetTop; topeleoffsetTop if(ele.tagName.toLowerCase()== body ){ ...