2013-10-11 24 views
0

我總是顯示箭頭和全屏圖標。總是顯示照片導航

問題是,按照標準懸停圖庫時會顯示圖標。我不想要這個標準,因爲這會導致無法在手機上打開全屏模式的問題。

當前我正在使用Fotorama 4.4.4。

有人可以幫我解決這個問題嗎?

回答

0

風格將這個部分關閉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/

+0

謝謝!現在它可以工作。 – grunt

3

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