function image1() { $('#photo').animate({left: '1000px'}, 40000, function() { $('#photo').attr('src', 'image2.jpg'); setTimeout("image1", "2000") }); }
$(document).ready(function () { $("img").animate({ "margin-left": "200px" }, 5000, function () { $("img").attr("src" , "../Images/ajaxload1.gif"); }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)