通过 HTML 元素加载 Javascript 幻灯片图像
我有一个页面,其中有一个随页面滚动的固定页脚,但是页面上有一个 Javascript 幻灯片,当幻灯片加载到新图像中时,它会将其加载到固定页脚上。
有问题的页面是这个:http://mysterybox.co/signalnoise/。向下滚动查看问题。
违规效果的屏幕截图:
谁能给我任何建议吗?我以为我可以用 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:
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加
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.