Fancybox 2 可见的导航箭头 [英] Fancybox 2 visible navigation arrows

查看:20
本文介绍了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆