我在我的页面中使用灯箱。关闭灯箱时,它在所有浏览器中都可以正常关闭..但在 Opera 中没有正确关闭..
我的灯箱组件代码——
<apex:component >
<apex:attribute name="ShowFlag" type="Boolean" description="Boolean with a get/set property) passed from the page to the lightbox controller" ></apex:attribute>
<apex:attribute name="Close" type="ApexPages.Action" description="The action from the main controller to put the lightbox flag back to false"></apex:attribute>
<apex:form >
<apex:outputPanel layout="block" styleClass="black-overlay" rendered="{!showflag}" id="lightboxbackground"/>
<apex:outputPanel layout="block" styleClass="lightbox-container" rendered="{!showflag}" id="lightbox">
<div style="text-align: right;">
<span class="action-button-x" style="margin: 2px;">
<apex:outputlink>X</apex:outputlink>
</span>
</div>
<div class="lightbox-content">
<apex:componentbody />
</div>
</apex:outputPanel>
</apex:form>
</apex:component>
当我在其他浏览器中单击关闭按钮时,它正在关闭..我在控制台中检查了错误,但没有出现错误..
请指导我!