[英]Lightbox Plus fix lightbox (don't scroll with scrollbar)
I am using the following lightbox: 我正在使用以下灯箱:
http://serennz.sakura.ne.jp/toybox/lightbox/ http://serennz.sakura.ne.jp/toybox/lightbox/
It's simple and light. 简单轻巧。 However, I don't like how it follows the scrollbar. 但是,我不喜欢它跟随滚动条的方式。 How can I stop the lightbox following the scrollbar when its displayed? 滚动条显示后如何停止灯箱?
open the plugin's theme file(colorbox.css). 打开插件的主题文件(colorbox.css)。
add overflow:hidden!important;
添加overflow:hidden!important;
to #cboxLoadedContent. 到#cboxLoadedContent。
DONE. 完成。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.