<html>
<head>
<script src="jquery-latest.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#btn1").click(function(){
$("p").animate({paddingLeft:"50px"});
});
$("#btn2").click(function(){
$("p").animate({paddingLeft:"5px"});
});
});
</script>
</head>
<body>
<button id="btn1">Animate Start</button>
<button id="btn2">Animate Stop</button>
<p style="background:pink;" >Paragaph</p></div>
</body>
</html>