I am working with jQuery Spritely plugin for moving cloud animation. This worked with jQuery-1.6.4 but with jquery-1.11+ this plugin doesn't work.
JS:
$(document).ready(function() {
$('#cloud, #cloud3').pan({fps: 30, speed: 2.5, dir: 'right'});
$('#cloud2, #cloud4').pan({fps: 20, speed: 1.5, dir: 'right'});
});
HTML:
<div class="box">
<div class="cloud" id="cloud"></div>
<div class="cloud" id="cloud2"></div>
</div>
How can I fix this?
Demo(Working): http://jsfiddle.net/8GwB5/ (with jQuery 1.6.4)
Demo(Not Working) : http://jsfiddle.net/8GwB5/1/ (with jQuery 1.11.0)