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