icon=this.$(icon);
var offsets=this.cumulativeOffset(icon);
var scrTop=this.docScrollTop();
+ var scrLeft=this.docScrollLeft();
var winHt=this.windowHeight();
if (ctl.style.display=='none') ctl.style.display='block';
var correction=2; // based on a 1px border
ctl.style.left = (offsets.left + icon.offsetWidth - ctl.offsetWidth)+'px';
} else {
var margin=this.nan2zero(this.getStyle(icon,'marginLeft'));
- ctl.style.left = (offsets.left+margin+correction)+'px';
+ ctl.style.left = (offsets.left+margin+correction+scrLeft)+'px';
}
var newTop=offsets.top + correction;// + scrTop;
var ctlht=ctl.offsetHeight;