Issue Bug Rejected

#15787TMENUE_LAYERS don't works right width divs and using relativeToTriggerItem

Stephan W¶rner 03/08/06, 14:11 updated 05/02/13, 14:17

Description

if several more layers into another boxed, the offset of the superordinate layer are ignored.
a fix, i have do for me is in media\scripts\jsfunc.layermenu.js:
function GL_getObj(obj){
nest=”“;
this.el= bw.ie4?document.all[obj]:bw.ns4?eval(nest+“document.”+obj):document.getElementById(obj);
this.css= bw.ns4?this.el:this.el.style;
this.ref= bw.ns4?this.el.document:document;

//this.x= (bw.ns4||bw.op5)?this.css.left:this.el.offsetLeft;
//this.y= (bw.ns4||bw.op5)?this.css.top:this.el.offsetTop;
this.x= (bw.ns4||bw.op)?this.css.left:GL_getLeft(this.el);
this.y= (bw.ns4||bw.op)?this.css.top:GL_getTop(this.el);

this.height= (bw.ie4||bw.ie5||bw.ns6||bw.op7)?this.el.offsetHeight:bw.ns4?this.ref.height:bw.op4?this.css.pixelHeight:0;
this.width= (bw.ie4||bw.ie5||bw.ns6||bw.op7)?this.el.offsetWidth:bw.ns4?this.ref.width:bw.op4?this.css.pixelWidth:0;
return this;
}
function GL_getLeft(l){
if (l.offsetParent) return (l.offsetLeft + GL_getLeft(l.offsetParent));
else return (l.offsetLeft);
};
function GL_getTop(l){
if (l.offsetParent) return (l.offsetTop + GL_getTop(l.offsetParent));
else return (l.offsetTop);
};

(issue imported from #M2799)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.