我有一个像下面这样的代码,我可以在IE9中打开一个灯箱并看到里面的内容,但是在IE8和以下的灯箱打开但我看不到里面的日期。
下面是我正在尝试的代码
<p:lightBox iframe="true" width="650px" height="300px" margin="0 auto" onHide="remote()">
<h:outputLink value="datToBeDisplayed.xhtml" title="DESCRIPTION">
<h:graphicImage url="../images/someImage.png" style="border:0"/>
</h:outputLink>
</p:lightBox>
您正在使用xhtml进行日期输出。Internet Explorer 8不支持xhtml。只支持IE9及以后的版本