This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
This method ( getposOffset(obj, "top") ) return the absolute height of the object on the page, but I want to know the height of the object to the top edge, not top of the page. As I scroll down, the height/distance between the object and the edge keep changes, that is what I need to know.