I have an image of clouds which is set to take up 100% width of the screen. I want to be able to pan it, similar to the way the "Spritely" plugin can pan clouds continuously, however, I'm not using Spritely because this is not a "background image". I hope this makes sense.
My code for the image:
<div id="clouds" style="position:absolute; z-index:99; width:100%; top:56.5%;">
<div id="clouds1" style="width:auto;overflow:hidden; position:relative; z-index:99; left:0%;">
<img src="Images/clouds.png" style="width:100%" />
</div>
</div>
Using the image this way allows me to have it scalable to the browser size.
Can someone help me figure out how to continuously pan this image?
Thank you so much for your time!
- James