Hello,
When i open a modal window, the calendar in the main page is still available and clickable. If i move the window, the calendar always stay on top.
Is it the standard behaviour of the calendar component ?
Thanks in advance
Phil
Hello,
The issue wasn’t reproduced locally.
Was the calendar rendered inside window viewport ?
Please, provide the sample to reproduce the issue.
Code for the main page
ESIC 1J.942 - COSIC
code where the windows is created, this function is in the file “Liste_Reseaux_Etat.php” which is the attachURL of cadre2.cells(“a”)
function Chargediag(id,entete)
{
var win = parent.wins.createWindow(“win1”,0,0,500,300);
win.setModal(true);
win.button(“park”).hide();
win.center();
win.setText("Cause(s) de la panne pour le réseau "+entete);
win.attachURL(“Fiche_Reseau.php?Reseau=”+id, true);
}
You can try to modify the calendar style - to decrease it z-index (the default is 99):
.dhtmlxcalendar_dhx_blue{
background: url(imgs/__dhxCal_skin_Blue/cal_bg_single.gif) no-repeat;
font-family: Arial;
z-index:40;
height:173px;
padding: 14px 10px 0px 8px;
width:161px;
}
Thanks a lot, now it’s ok.