/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(function(){ $('p').click(function(){ $(this).animate({'paddingLeft': '30px'}, {complete:function(){ $(this).animate({'paddingTop': '30px'}); } }); }); });