여기 내 기본 구조가 있습니다. 그것은 IE, 어떤 제안에서 작동하지 않습니다? IE가 jPlayer 상태와 잘 작동하지 않습니까? 당신이 position:relative
을 같은 요소에 대한 비 정적 위치를 설정하는 데 필요한 z-index
값을 작동하게하기 위해Z- 색인 및 가시성이있는 IE의 CSS()
<div id="videodiv">
<img src="poster.jpg">
<div id="video">jPLayer stuff here</div>
<button></button>
</div>
<style>
#videodiv{position:relative;}
img{z-index: 30; visibility:visible; position:relative;}
#video{z-index: 25; position:absolute; top:0px;}
button{z-index: 40; position:absolute;}
</style>
<script>
play: function (event) {
$parent.find('img.poster').css("z-index", "20");
$parent.find('img.poster').css("visibility", "hidden");
}
</script>
어떤 버전의 IE입니까? "효과가 없다"는 것은 무엇을 의미합니까? [IE8의 z- 인덱스 문제] (http://stackoverflow.com/questions/1156192/internet-explorer-z-index-bug) 및 아래 내용은 잘 설명되어 있습니다. – Blazemonger