I opened the console (chrome \ firefox) and ran the following lines:
$("body").append("<div id=\"popupFrame\" style=\"width:100%;height:100%;background-color:black;opacity:0.5;position:absolute;top:0;left:0;z-index:1;\" />"); $("body").append("<div id=\"popupContent\" style=\"width:200px;height:200px;z-index:1000;background-color:white;\" >dasdasdsadasdasdasdasdasd</div>");
#popupContent should be the highest, but it is affected by the opacity of #popupFrame.
Content is not contained in #popupFrame, which makes it very strange.
The goal is to create a Firefox error warning window.
I would be grateful for any help.
Thanks in advance.
html css
Gal Ziv Jan 23 '13 at 15:47 2013-01-23 15:47
source share