I'm getting the "Invalid Argument, Line 14, Character 10552" error from CSSPlugin.min.js on IE8 (Standards mode).
Here's the bare essentials of the code that makes the TweenLite / CSSPlugin call to animate the "top" property:
var sl = document.getElementById('theSlidesContnr');
var ypos = [];
var slideHeight = $('.slide:first').outerHeight();
var totalSlides = $('#theSlidesContnr div.slide').length;
var automove = true;
var snum;
var run;
var speed = 3000;
function moveSlide()
{
var d;
if(automove)
{
if(snum === undefined) snum = 1;
d = snum;
if( snum < totalSlides ) {
snum++;
} else if( snum >= totalSlides ) {
snum = 1;
}
}
TweenLite.to(sl, 1, { css:{ top:ypos[d] }, ease:Power4.easeOut });
//TweenLite.to(sl, 1, { css:{ top:parseInt(ypos[d]) }, ease:Power4.easeOut });
}
function autoRotate()
{
run = window.setInterval( moveSlide, speed);
}
function init()
{
for( var i=0; i < totalSlides; i++)
ypos[i] = -(slideHeight * i);
autoRotate();
}
init();
Tried both "//{ css:{ top:ypos[d] }" and "{ css:{ top:parseInt(ypos[d]) }" but got the same error. The same code works fine in the standards browsers & IE7.
I made sure to grab the latest greensock JS download. This is similar to another CSSPlugin error in IE8 but for a different line/character location in the code.