代码片段:$('a[rel=popover]').popover().click(function(e){ e.preventDefault(); varopen=$(this).attr('data-easein'); if(open=='shake'){$(this).next().velocity('callout.'open); }elseif(open=='pulse'){$(this).next().velocity('callout.'open);