本帖最后由 liaokm168 于 2009-12-17 10:10:51 编辑

解决方案 »

  1.   

    试下:
    popupObj.style.posLeft  = coordinates.x + xspace+"px";
            popupObj.style.posTop = coordinates.y + document.all(anchorname).offsetHeight + yspace+"px"
      

  2.   

    我试了在firefox下alert出popupObj.style.posLeft和popupObj.style.posTop输出是underfined....应该是不支持这样的写法....
      

  3.   

    刚刚查了下,FF的确不支持这种写法看来LZ只能用style.left和style.top定位了