If there is a border on the document, then the combo list appears in the wrong place. Attached is sample code for the bug.
The fix seems simple but I am not sure if it will work in all cases:
in dhtmlXCombo.prototype.getPosition
instead of returning:
return [pos.left, pos.top];
I return:
return [pos.left+parseInt(document.body.style.borderLeftWidth), pos.top+parseInt(document.body.style.borderTopWidth)];
And that worked.
bug2.zip (951 Bytes)