如何在Internet Explorer中使用jquery代码?

时间:2021-10-29 17:23:56

I put some jquery in my website that makes the text move to the right when the page changes. It works in Firefox and Safari but it doesn't work in Internet Explorer. My url to my website: http://katieduck.com/Courses/Improvisation%20Winter%20Course%20Dartington.html Here is the code that is not working:

我在我的网站上放了一些jquery,当页面改变时,文本会向右移动。它适用于Firefox和Safari,但在Internet Explorer中不起作用。我的网址:http://katieduck.com/Courses/Improvisation%20Winter%20Course%20Dartington.html以下代码无效:

$(document).ready(function() {
    $('#tabvanilla > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
    $('#featuredvid > ul').tabs();
});

Maybe you can find out what is wrong.

也许你可以找出问题所在。


Hi Do you know which css problem I have exactly? Where is the jquery easing I cannot find it on that page: http://katieduck.com/Courses/Improvisation%20Winter%20Course%20Dartington.html

嗨,你知道我到底有哪些CSS问题吗? jquery缓和在哪里我无法在该页面上找到它:http://katieduck.com/Courses/Improvisation%20Winter%20Course%20Dartington.html

Thank u,

ILaria

1 个解决方案

#1


2  

You have a CSS problem, not a jQuery problem. jQuery is probably affecting the right CSS values, however IE does render CSS differently from other browsers, so that's probably the problem you are having.

你有一个CSS问题,而不是一个jQuery问题。 jQuery可能会影响正确的CSS值,但IE确实以不同于其他浏览器的方式呈现CSS,因此这可能是您遇到的问题。

besides, it's not showing up correctly in FF 3.6 anyways, so I'm guessing you have multiple problems at the moment

此外,它在FF 3.6中没有正确显示,所以我猜你现在有多个问题

#1


2  

You have a CSS problem, not a jQuery problem. jQuery is probably affecting the right CSS values, however IE does render CSS differently from other browsers, so that's probably the problem you are having.

你有一个CSS问题,而不是一个jQuery问题。 jQuery可能会影响正确的CSS值,但IE确实以不同于其他浏览器的方式呈现CSS,因此这可能是您遇到的问题。

besides, it's not showing up correctly in FF 3.6 anyways, so I'm guessing you have multiple problems at the moment

此外,它在FF 3.6中没有正确显示,所以我猜你现在有多个问题