【问题标题】:Always show Fotorama navigation始终显示 Fotorama 导航
【发布时间】:2013-10-19 11:35:05
【问题描述】:

很明显,我总是显示箭头和全屏图标。

问题是,当您按标准悬停图库时会显示图标。我不要这个标准,因为这样会导致在手机上打不开全屏模式的问题。

目前我正在使用 Fotorama 4.4.4。

谁能帮我解决这个问题?

【问题讨论】:

    标签: jquery fotorama


    【解决方案1】:

    现在你可以使用data-arrows="always"

    【讨论】:

      【解决方案2】:

      你的 样式中将这部分从 CSS 中删除,在 fotorama.css 之后:

      .fotorama__arr,
      .fotorama__fullscreen-icon {
          display: block !important;
          opacity: 1 !important;
          -webkit-transform: translate3d(0, 0, 0) !important;
          -ms-transform: translate3d(0, 0, 0) !important;
          transform: translate3d(0, 0, 0) !important;
      }
      
      .fotorama__arr--disabled {
          opacity: .1 !important;
      }
      
      .fotorama__wrap--video .fotorama__arr,
      .fotorama__wrap--video .fotorama__fullscreen-icon {
          display: none !important;
      }
      

      小提琴:http://jsfiddle.net/artpolikarpov/Txgbm/

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2021-05-21
        • 2023-04-01
        • 2023-02-17
        • 2014-09-04
        相关资源
        最近更新 更多