2010-12-06 4 views
2

iframe에서 javascript 드롭 다운 메뉴를 사용하여 상단 탐색 요소를 호출하는 사이트를 만들었습니다. 메뉴가 중앙 플래시 요소 위에 놓이는 곳에서 작동하지만, 메뉴가 "드롭"되지 않은 경우에도 플래시의 해당 영역에있는 모든 요소가 클릭에 응답하지 않습니다.메뉴 드롭 다운 메뉴가있는 iframe은 플래시의 클리핑을 해제합니다.

나는 Z 인덱스를 변경했습니다, 그리고 지금은 심지어 iframe이 ontop이 될 플래시 파일을 얻을 수가 캔트 -

를 heres을 heres 링크

http://schweigert-effect.com/testing/collections.html

코드 -

를 heres
<body> 
<div id="wrapper"><center> 


    <div id="headerwrap"> 
    <iframe src="topnav.html" name="topFrame" scrolling="No" noresize="noresize" id="topnav" title=" topFrame" frameborder="0" height="230px" width="900" allowtransparency="true"> <p>Your browser does not support iframes. please update</p> 
    </iframe> 
</div> 

    <!-- 
    end #header 
    --> 

    <div id="page"> 
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1100" height="650" id="Aico" title="Aico"> 
     <param name="movie" value="flash/home.swf" /> 
     <param name="quality" value="high" /> 
     <param name="wmode" value="transparent" /> 
     <param name="swfversion" value="6.0.65.0" /> 
     <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> 
     <param name="expressinstall" value="Scripts/expressInstall.swf" /> 
     <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> 
     <!--[if !IE]>--> 
     <object type="application/x-shockwave-flash" data="flash/home.swf" width="1100" height="650"> 
     <!--<![endif]--> 
     <param name="quality" value="high" /> 
     <param name="wmode" value="transparent" /> 
     <param name="swfversion" value="6.0.65.0" /> 
     <param name="expressinstall" value="Scripts/expressInstall.swf" /> 
     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> 
     <div> 
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> 
      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> 
     </div> 
     <!--[if !IE]>--> 
     </object> 
     <!--<![endif]--> 
    </object> 
    <!-- end #page --> 
    </div> 

iframe을 html로

에 대한 코드
+0

페이지를 볼 수있는 URL이 있습니까? – Elankeeran

+0

http://schweigert-effect.com/testing/collections.html - 탐색 메뉴가 드롭 다운되는 것을 볼 수 있습니다 -하지만 iframe 크기 내에서 드래 거 또는 다른 항목을 선택 할 수 없습니다. –

답변

0

플래시 오브젝트에서 윈도우 모드를 불투명하게 설정해야하는 것처럼 들립니다. 이 방법을 정확히 알려주는 코드를보아야하지만 기본적으로이를 아래에 설정합니다.

wmode="opaque" 
+0

안녕하세요, 고맙습니다. 나에게 돌아오다 나는 불투명하고 투명하다. 어느 쪽도 고치지 않았다. 여기에 코드 –

+0

원본 질문에 코드를 게시하면 읽지 못할 것이다. –

+0

... 아프다. 코드를 쉽게 읽을 수있는 링크를 만듭니다. - http://schweigert-effect.com/testing/collections.html –