我正在使用Swipebox jQuery 灯箱。
在正常情况下,图像的标题和光标箭头在浏览图库时会从页面的顶部和底部滑出。
基本上,我希望图像标题和控制箭头保持原位(而不是滑出页面)。有谁知道如何做到这一点?
它在初始设置中,只需像这样设置它:
hideBarsDelay : 3000, // 0 to always show caption and action bar
通过放置来解决这个问题
#swipebox-caption{top:0!important;}
#swipebox-action{bottom:0!important;}
在我的 CSS 中。
这对我有用
#swipebox-top-bar,#swipebox-bottom-bar{transform: none !important;}
#swipebox-top-bar{top: 0;}
#swipebox-bottom-bar{bottom:0;}