<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Документ без названия</title>
<style type="text/css">
.blockBlue {
width:1000px;
height:100px;
background:url(1.png);
}
.whiteDiv {
height: 100px;
background-image: url(2.png);
background-repeat: no-repeat;
}
</style>
</head>
<body>
<div class="blockBlue" ><div class="whiteDiv" id="go" >111111111111111111111111</div></div>
<script>
$("#whiteDiv").toggle(function() {
$(this).stop(true, true).animate({left: "-=100"});
}, function() {
$(this).stop(true, true).animate({left: "-=100"});
}, function() {
$(this).stop(true, true).animate({left: "+=200"});
});
</script>
</body>
</html>