I’m trying to use dhxWins Windows alongside some graphics elements, but the graphics elements always appear behind the windows, even when they are rendered after the windows.
I’ve tried adjusting the z-index property in the windows style-sheet, but this did not fix the problem.
I have this issue with HTML5 canvas and with jsgl graphics.
Many thanks for your prompt reply. I am using the standard versions.
I guess this means that you probably cannot spend much time on the issue, because you have paying customers to look after. However, if you are able to help, I can make a standalone demo. It will take some time, because the app makes use of AJAX calls to Yii models, but I will start on it asap…
A standalone demo is a very good (and sometimes the only) way to show us your issue. Besides, it sometimes help users to find their own mistakes and fix them.
As for, “I guess this means that you probably cannot spend much time on the issue” - it is a bit complicated to replicate your issue guiding only a picture. The issue is not reproduced in our demos so we need to see how exactly you use the dhtmlx (component).
You need to place your svg object in the parent different from window viewport. To try it just make some changes in your demo code:
var Panel = new jsgl.Panel(document.getElementById(“obj”));
…
Darya - one other thing: I am placing grids inside the windows. Is there any way of changing the default margin between the window border and the grid? I can’t see a relevant css setting.
You use web skin windows. This skin has 8px white border around a container div. You can decreas this border the next way:
.dhtmlx_skin_dhx_web div.dhtmlx_window_active div.dhtmlx_wins_body_outer {
border: none;
}
.dhtmlx_skin_dhx_web div.dhtmlx_window_active div.dhtmlx_wins_body_outer div.dhtmlx_wins_body_inner {
border: 0px !important;
}
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan