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?
使用属性centerOnScroll = true
centerOnScroll = true