I've got this code, but I need to make it loop?
- jQuery(function($) {
- var timer;
- function Cloud(event)
- {
- $("#cloud").css("opacity","0");
- $("#cloud").css("left","-600px");
- $("#cloud").animate({"opacity":1,"left":1600},20000, "linear", null);
- $("#cloud").css("left","1024px");
- $("#cloud").animate({"left":-600},20000, "linear", null);
- }
- Cloud();
- });
If anyone could help I'd be much appreciative.