I'm trying to implement a simple animation using Jquery Spritely. The problem is that on Chrome, Firefox, and Safari everything works fine. But on IE I got the follow error: 'Can not get property 'replace' of undefined reference or null'
The fiddle is here
<div class="container">
<div id="citybackground"></div>
<div id="cityclouds"></div>
<div id="motoboy"></div>
</div>
$(document).ready(function() {
$('#citybackground').pan({ fps:30, speed: 3, dir: 'left' });
$('#cityclouds').pan({ fps: 30, speed: 2, dir: 'right' });
});