i’m using a plugin by Alexander Farkas which animates backgrounds really nicely.
And it works fine even in IE9, but in IE8 and IE7 gives me this error: ‘SCRIPT5007: Unable to get value of the property ‘replace’: object is null or undefined’
Somehow in IE8 he cant transform the values (by values i mean the pixels) given to the function…
Could somebody have a look? i didn’t want to post the hole js but you can check it out here:
Thanks in advance
make sure there will be no trailing comma’s IE doesn’t like trailing commas in arrays/objects.
check these two lines
Updated Solutions
paste this code
above this line