Combo list under the modal window

Hello,
I place dhtmlxCombo inside the div, from which i create dhtmlxWindow. When window opens being set modal, the list of combo goes under this window, so I can see only last options which come out of modal window border. Also I cannot select any visible item by mouse click, only with arrow keys.

<div id="cit" class="w_conf" style="visibility:hidden;">
    <select style='width:200px;' id="i_city" name="alfa1">
        <option value="1">a00</option>
        <option value="2">a01</option>
        <option value="3">a02</option>
        <option value="4">a03</option>
        <option value="5">a04</option>
        <option value="6">a05</option>
        <option value="7">a06</option>
    </select>
    <p style="text-align: center;"><input class="but" id="b_yes" type="button" value="Yes" onClick="procCit('YES')"> <input class="but" id="b_not" type="button" value="No" onClick="procCit('NOT')"></p>
</div>
<script>
function showDIV( d_id ) {
	document.getElementById( d_id ).style.visibility = "visible";
}
w_city = dhxWinmain.createWindow("w_city", 20, 30, 100, 100);
w_city.setText("Add record");
w_city.denyResize();
w_city.denyPark();
w_city.button("minmax1").hide();
w_city.button("park").hide();
w_city.button("close").hide();
w_city.attachObject('cit',true);
w_city.centerOnScreen();
w_city.setModal(false);
w_city.setIcon("icon_normal.png","icon_disabled.png");
w_city.hide();
showDIV("cit");

z_city = new dhtmlXCombo("i_city","alfa2",200);
</script>

Hello
I recommend you see one more time all samples about window’s viewport, f.e. this:
dhtmlx.com/docs/products/dht … ecify.html

See my sample - i did something like you want. Just change one of the combo items - it will create a new window near the combo. See coordinates in code
window_combo_div.rar (39.9 KB)

Hello,
Thank you very much for your reply, even if it didn’t exactly cover my case. Maybe I explained the problem not very clear :frowning: .
But I downloaded your sample and started to edit the code to put there my case - and suddenly found that with your libraries everything works OK and I don’t have this problem any more.
It means that I had pretty old version of dhtmlWindows and dhtmlCombo files :blush: .

Thank you again!

You Are Welcome!