Fancybox 2可见的导航箭头 [英] Fancybox 2 visible navigation arrows
本文介绍了Fancybox 2可见的导航箭头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用Fancybox 2.0是否可以始终保持图库导航箭头可见?不仅仅是在悬停时可见.
Is it possible with Fancybox 2.0 to always keep the image gallery navigation arrows visible? Rather than just visible on hover.
推荐答案
对于fancybox v2.x,您可以使用以下CSS内联声明(链接到jquery.fancybox.css文件之后):
For fancybox v2.x you may use these CSS inline declarations (after you have linked to the jquery.fancybox.css file):
<style type="text/css">
.fancybox-next span {
left: auto;
right: 20px;
}
.fancybox-prev span {
left: 20px;
}
</style>
更新(2012年7月12日):由于Fancybox v2.0.6 +只需要添加此CSS声明即可
UPDATE (July 12, 2012) : Since Fancybox v2.0.6+ just need to add this css declaration instead
.fancybox-nav span {
visibility: visible;
}
这篇关于Fancybox 2可见的导航箭头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文