jquery 暴露在滚动时被切断 - 使用简单的覆盖时

发布于 11-15 22:08 字数 274 浏览 4 评论 0原文

不知道如何解决这个问题,暴露透明度仅覆盖您的原始视图。当您向下滚动时,曝光会被切断。

我需要在此处添加与溢出或大小相关的内容吗?

<script>
// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready


$("img[rel]").overlay({expose: '#000'});

});
</script>

No idea how to fix this, the expose transparency covers only your original view. When you scroll down the expose is cut off.

Do i need to add something that relates to overflow or sizing here?

<script>
// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready


$("img[rel]").overlay({expose: '#000'});

});
</script>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱你是孤单的心事2024-11-22 22:08:14

我不是 100% 确定你在问什么,但我认为你想将“fixed”设置为 false,如下所示:

$("img[rel]").overlay({mask: '#000', fixed: false});

然后你的叠加层将随页面滚动。

I'm not 100% sure what you're asking, but I think you want to set "fixed" to false, like this:

$("img[rel]").overlay({mask: '#000', fixed: false});

Then your overlay will scroll with your page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文