IE не нравится, как вы присваиваете некоторые переменные. Также может быть, что IE думает, что контейнер является глобальной переменной.
Посмотрите, поможет ли это. Тело может быть любым родительским контейнером контейнера.
function MoveItems() {
jQuery('body').append('.container>div:first').animate({
width: '0px'
}, 1000, function () {
var mine = jQuery(this);
mine.parent().append(mine);
jQuery(this).css({
width: '120px'
});
});
jQuery('body').append('#bands>h2:first').fadeTo(
4000, 0, function () {
var mine = jQuery(this);
mine.parent().append(mine);
jQuery(this).fadeTo(
1, 1);
});
} //removed this semi colon based on error from jslint.
jQuery(document).ready(function () {
var timer = setInterval(MoveItems, 1000);
jQuery('#sponsors').hover(function () {
clearInterval(timer);
}, function () {
timer = setInterval(MoveItems, 1000);
});
jQuery('.sponsor').mouseover(function () {
jQuery('img', this).animate({
width: "200px",
height: "200px",
left: "-40px",
top: "-40px"
}, {
queue: false,
duration: 500
});
});
jQuery('.sponsor').mouseleave(function () {
jQuery('img', this).animate({
width: "120px",
height: "120px",
left: "0px",
top: "0px"
}, {
queue: false,
duration: 500
});
});
});
Звучит неправдоподобно, но я видел ту же ошибку на Ie, вызванную проблемами с реестром, повреждающими движок JavaScript.
Если код не работает, посмотрите, можете ли вы попробовать его на другом компьютере с IE.
Я также заметил, что у вас есть ошибки типа MIME для всех ваших файлов JavaScript. Может быть, не причина этой проблемы, а что-то еще, на что стоит взглянуть.
Resource interpreted as Script but transferred with MIME type application/octet-stream.
wp-scriptaculous.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
prototype.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
effects.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
lightbox.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
jquery.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
jquery.cycle.all.min.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
ngg.slideshow.min.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
webtoolkit.sprintf.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
fergcorp_countdownTimer_java.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.
blink2_backup.js:-1Resource interpreted as Script but transferred with MIME type application/octet-stream.