Re: util.DOM.setXY question
setXY and getXY operate by page coordinates, not by simple left and top style properties. The page coordinates are calculated based on the element's offset postion and any parents' offset position(s). If an element has a display of none, offset positions are not available.
Yahoo! UI - Beyond the Examples
> anybody can explain me why YAHOO.util.Dom.setXY or setX or setY return
> false when the element has display=none ???
> Why this rule in this functions?
> We can change style.top and style.left if the element has display=none
> With this "rule" we need to show the element first to set XY