本文介绍了隐藏在Swf(Flash)对象后面的Asp面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Am使用ajaxtoolkit:modalpopupextender,它位于Flash对象的后面.我希望弹出窗口首先显示 代码是..
Am using ajaxtoolkit:modalpopupextender and it comes behind the flash object ..i want popup displays as first the code is ..
<asp:UpdatePanel ID="t1" runat="server"> <ContentTemplate> <ajaxToolkit:ModalPopupExtender ID="mpePnlPopUp" runat="server" CancelControlID="img_Popup_Close_Daysettings" BehaviorID="mpePop" PopupControlID="pnl_Popup" BackgroundCssClass="modalBackground" PopupDragHandleControlID="pnl_Popup" TargetControlID="imgPrintReport"> </ajaxToolkit:ModalPopupExtender> <asp:Panel ID="pnl_Popup" runat="server"> <panel style goes here....> </asp:Panel> </ContentTemplate> </asp:UpdatePanel>我将Flash对象的z-index设置为-1,将弹出窗口设置为1000000 没有变化...
i put z-index for flash object as -1 and put popup as 1000000 there is no change...
推荐答案您可能需要更改对象标签,如下所示: You may need to change your object tag like below : <object id="myFlash" width="1000" height="500" type="application/x-shockwave-flash" data="flash.swf" style="visibility: visible;"> <param name="play" value="true"> <param name="menu" value="false"> <param name="scale" value="showall"> <param name="wmode" value="transparent"> <param name="allowfullscreen" value="true"> <param name="allowscriptaccess" value="always"> <param name="allownetworking" value="all"> </object> </param></param></param></param></param></param></param>
检查对象标签的
check
<param name="wmode" value="transparent"></param>属性. 如果有帮助,请将其标记为答案!
attribute of object tag. Mark this as answer if it helps you!
更多推荐
隐藏在Swf(Flash)对象后面的Asp面板
发布评论