我在我的网站上使用Fotorama图像脚本。我有data-allowfullscreen =“native”。当我在Firefox中进入全屏时,导航和从全屏按钮返回有时会消失。如果我点击图像的右侧或左侧,我可以前进或后退。要退出全屏,我必须按Esc键。这个问题似乎只适用于Firefox。我把我的页面的代码放在下面。
<td width="1008"><div class="fotorama" data-width="950" data-max-width="100%" data-max-height="97%" data-allowfullscreen="native">
<img src="../../images/1979/02/1979-02-1.jpg">
<img src="../../images/1979/02/1979-02-2-3.jpg">
<img src="../../images/1979/02/1979-02-4-5.jpg">
<img src="../../images/1979/02/1979-02-6-7.jpg">
<img src="../../images/1979/02/1979-02-8-9.jpg">
<img src="../../images/1979/02/1979-02-10-11.jpg">
<img src="../../images/1979/02/1979-02-12-13.jpg">
<img src="../../images/1979/02/1979-02-14-15.jpg">
<img src="../../images/1979/02/1979-02-16-17.jpg">
<img src="../../images/1979/02/1979-02-18-19.jpg">
<img src="../../images/1979/02/1979-02-20-21.jpg">
<img src="../../images/1979/02/1979-02-22-23.jpg">
<img src="../../images/1979/02/1979-02-24.jpg"></div></td>
答案 0 :(得分:0)
你真的混淆了这些属性吗? 只需删除&#34; - &#34;
<div class="fotorama" data-width="950" data-maxwidth="100%" data-maxheight="97%" data-allowfullscreen="native">