I found a source of an issue. It is a div with class “.HYPE_element_container” which has my div as a child. If I change z-index of my div, I also change z-index of div with class “.HYPE_element_container”. But I don’t find a way to make it.
PS What real cause to use such rendering model: “.HYPE_element_container” > mydiv instead only mydiv with all attributes ? Why I have one div on canvas in an app and two divs in HTML code with this structure: “.HYPE_element_container” > div
I realize effect which I want to give. I use two scripts for mouseOver:
var yourId = element.getAttribute('id');
ind = parseInt(hypeDocument.getElementById(yourId).parentNode.style.zIndex);
hypeDocument.getElementById(yourId).parentNode.style.zIndex = 9999;
and mouseOut:
var yourId = element.getAttribute('id');
hypeDocument.getElementById(yourId).parentNode.style.zIndex = ind;