通过 HTML 元素加载 Javascript 幻灯片图像

发布于 2024-12-25 10:13:35 字数 346 浏览 5 评论 0原文

我有一个页面,其中有一个随页面滚动的固定页脚,但是页面上有一个 Javascript 幻灯片,当幻灯片加载到新图像中时,它会将其加载到固定页脚上。

有问题的页面是这个:http://mysterybox.co/signalnoise/。向下滚动查看问题。

违规效果的屏幕截图: overlayproblem

谁能给我任何建议吗?我以为我可以用 z-index 来修复它,但这没有用。

I have a page in which I have a fixed footer that scrolls with the page, however on the page there is a Javascript slideshow, as the slideshow loads in a new image, it loads it over the fixed footer.

The page in question is this one: http://mysterybox.co/signalnoise/. Scroll down to see problem.

Screenshot of the offending effect: overlayproblem

Can anyone give me any advice? I thought I may be able to fix it with a z-index but that didn't work.

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

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

发布评论

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

评论(1

梦里兽 2025-01-01 10:13:35

添加 z-index: 2;#footerwidth

编辑:

同样适用于 #headerwidth

编辑2:

根据 ThinkingStiff 的建议,您也可以考虑替换页脚的 margin-bottom 属性和 padding-bottom 属性。

add z-index: 2; to #footerwidth

EDIT:

same goes for #headerwidth

EDIT2:

per ThinkingStiff's suggestion, you may also consider replacing the margin-bottom attribute of the footer with a padding-bottom attribute.

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