Cdo*_*ore 2 javascript fotorama
我刚刚安装了 Fotorama javascript 脚本。但是,当我使用 data-arrows="true" 启用箭头(您可以在其中设置的属性)时,它们根本不显示。
这是删除图像链接的代码:
<div class="fotorama" data-nav="thumbs" data-width="200;"
data-height="200" data-arrows="true" data-click="true">
<img src="Image 1" alt="" width="200" height="200" />
<img src="Image 2" alt="" width="200" height="200" />
<img src="Image 3" alt="" width="200" height="200" />
</div>
Run Code Online (Sandbox Code Playgroud)
用过Fotorama的人有遇到过这个问题吗?或者谁能测试一下,看看是不是只有我一个人这样。您可以在以下位置下载脚本: http: //fotorama.io/
这是它如何工作的演示:http://fotorama.io/examples/arrows-click-swipe.html
谢谢。
使用 jQuery 1.8 或更高版本。
将fotorama.png和fotorama@2x.png与 . 放在同一目录中fotorama.css。
;从属性中删除符号data-width。
它应该有效。