Hey all I am having an issue with trying to set a div on top of the full screen overlay.
For some reason its not going over the top of the overlay - even when set to a higher z-index than the overlay itself.
Here is the jsfiddle example. The HELLO! should be on top of the overlay but it is not:
JS:
var overlay = jQuery('<div id="overlay"> </div>');
overlay.appendTo(document.body);
CSS:
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
z-index: 10000;
}
#tester {
z-index: 2001;
}
HTML:
Lots of text to create scrollbars Lots of text to create scrollbars Lots of text to create
scrollbars Lots of text to create scrollbars......<div id="tester">HELLO!</div>.......Lots
of text to create scrollbars