Using dhtmlxMessage with a Layout attached to the document.body, the message window stays behind the layout. Is this something expected or is there a way to attach it to the layout so it shows on top of the said layout?
It is a not expected result, we will try to fix it in a next update.
Anyway, you can add css rule like next to adjust the behavior
.dhtmlx_message_area{
z-index:10000; /* adjust this number if 10000 is still not enough */
}
Is there anyway to “push” a layout down, that is attached to the document.body, in order to show the message? I have the z-index of the message area set to a very large number. I have also tried the modal box and it does show but it is shown below the layout object. In fact the layout object gets pushed up.
I have attached an example.
Message Test .dhtmlx_message_area{ z-index:100002222222; /* adjust this number if 10000 is still not enough */ } } .dhtmlx-modalbox{ font-weight:bold; color:white; background-color:red; }Thanks for the quick response on the last post.
I was not using a DOCTYPE. Once I added that to my page it worked fine. Is this the recommended DOCTYPE to use with dhmtlx? When I add it to my larger app I am getting dhtmlxlayout errors. Probably something in my coding but just wondering what your opinion is for DOCTYPE and dhtmlx.
Thanks!