gpt4 book ai didi

javascript - 灯箱在 IE8 中不工作

转载 作者:行者123 更新时间:2023-11-28 10:18:57 25 4
gpt4 key购买 nike

我有一个使用 Lightbox 的 css 图像映射,它可以在除 IE8 之外的其他浏览器中工作。

尝试过:改变文档类型,没有额外的 javascript 行,没有多余的逗号,图片不是 cmyk,

改用漂亮的照片(不确定如何将其合并到图像映射中),阅读有关此主题的其他帖子。

网站:http://heidiwallaceart.com/currentwork.html

有什么想法吗?

最佳答案

您的网站上有严格的文档类型,而 HTML 输出不遵守此严格的文档类型:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

确保使用 HTML5 文档类型更改它

<!DOCTYPE html>

另外还有几个资源没有找到,仔细检查所有路径:

加载资源失败:服务器响应状态为 404(未找到)

http://heidiwallaceart.com/css/none
Failed to load resource: the server responded with a status of 404 (Not Found) http://heidiwallaceart.com/img/close.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://heidiwallaceart.com/img/loading.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://heidiwallaceart.com/img/next.png
Failed to load resource: the server responded with a status of 404 (Not Found) http://heidiwallaceart.com/img/prev.png

关于javascript - 灯箱在 IE8 中不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24108697/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com