gpt4 book ai didi

javascript - 带有 Wordpress 主题的 ie8 和 ie9 中的 Jquery 错误。 (对象不支持该属性或方法)

转载 作者:行者123 更新时间:2023-12-02 19:38:47 25 4
gpt4 key购买 nike

我最近为客户推出了一个网站 http://www.bridgechurch.us/只是收到关于它在 ie8 或 ie9 上无法正确显示的投诉。我已经证实这是真的。 IE 指向这行 Javascript:

jQuery(function () {

jQuery(".scrollable").scrollable({circular: true}).navigator().autoscroll({interval: 7000});

[...]

谁能帮我找出这行代码有什么问题吗?

谢谢

UPDATE - FIXED

I figured out that there was a comment before the Doctype Declaration that forced IE into quirks mode.

最佳答案

该页面上有很多 404,主要与 ie 特定的 css 和边框图像相关,这可能就是该页面看起来不正常的原因。/images/internet_explorer/borderBottomRight.png 和/wp-content/themes/Moses/styles/default.css 等文件无法加载。

话虽这么说,看看 the scrollable documentation ,scrollable()的返回值中没有.navigator()函数;我在 Chrome 中遇到了同样的错误。

关于javascript - 带有 Wordpress 主题的 ie8 和 ie9 中的 Jquery 错误。 (对象不支持该属性或方法),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10658135/

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