Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当fancybox打开时,有没有办法让滚动条在浏览器中保持活动状态?当我单击打开一个花式框窗口的链接时,整个页面会跳到右侧,因为当框打开时滚动条处于非活动状态。
提前非常感谢:-)
为fancybox 2.1.3 版找到了这个:
$(".fancybox").fancybox({ helpers : { overlay : { locked : false } } });
这解决了问题:-)