<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title></title>
<style>
#senda,#sendb{
position: relative;
}
</style>
</head>
<body>
<div id="senda">aaa</div>
<div id="sendb">bbbb</div>
</body>
<script src="js/jquery-1.11.3.js"></script>
<script>
$(function(){
var n=1;
var speed = 2000;
$('#senda').click(function(){
$(this).animate({left:"+=300px"}, speed, function(){
// $(this).clearQueue().delay(100).queue(function() {
speed += 1000;
// });
});
});
});
</script>
<script>
</script>
</html>