2011-04-21 8 views
0

jquery 팝업에서로드 될 javafx 애플릿을 만들었습니다. 동일한 페이지에로드되는 팝업이 하나 더 있습니다.애플릿 겹침

애플릿 팝업을 클릭 한 다음 일반 팝업을 클릭합니다. 애플릿 팝업이 팝업과 겹치는 것을 볼 수 있습니다. 해결책을 제안하십시오. 일 CSS에

<html> 

<script> 

    function openPopup() { 
       $("#dialogID").dialog(); 
       getAudioPlayer("dialogID"); 


     } 
      function openPopup1() { 
       $("#rubricID").dialog(); 


     } 
     function getAudioPlayer(parentObj) { 
     alert("HI"); 
     var fxstring = javafxString(
     { 
       archive: "JavaFXApplication1.jar", 
       width: 250, 
       height: 80, 
       code: "javafxapplication1.Main", 
       name: "myApplet", 
       id: "myApp" 
     } 
    ); 
     document.getElementById(parentObj).innerHTML = fxstring; 
    } 



</script> 
<input value="Audio Response" onclick="openPopup()" type="button"> 
<input value="Pop Up" onclick="openPopup1()" type="button"> 
    <div id="dialogID" 
       style="display: none; width: 1000px; height: 1000px; overflow:visible; background-color: #AAAAAA; font-family: Arial, Verdana, Sans Serif; font-size: 12px; font-style: normal; font-weight: normal;z-index: -1;"> 

     </div> 

      <div id="rubricID" 
       style="display: none; width: 1000px; height: 1000px; overflow:visible; background-color: #FFFFFF; font-family: Arial, Verdana, Sans Serif; font-size: 12px; font-style: normal; font-weight: normal;z-index: 100;"> 

     </div> 
</body> 
</html> 
+0

당신이 코드의 일부를 게시 할 수있는 것은 우리가 할 수 :)의 Z- 색인

확인이 밖으로 http://jsfiddle.net/EqUxz/ 함께 할 수있는 뭔가가 생각 그것을 더 잘 보아라 :) –

+0

@Ian : 나는 나의 지위를 편집했다 – karthick

답변

0

검사가 나는 샘플 :

+0

@above : 그것은 효과가 없다 – karthick