为什么在页面没有效果?
$.Velocity.RegisterEffect('lixin.pulse', {
defaultDuration:300,
calls: [
[{scalex:2.1},0.5],
[{scalex:1.0},0.5]
]
});
$('#div3').on('mouseover',function(){
$(this).velocity('lixin.pulse');
});
$.Velocity.RegisterEffect('lixin.pulse', {
defaultDuration:300,
calls: [
[{scalex:2.1},0.5],
[{scalex:1.0},0.5]
]
});
$('#div3').on('mouseover',function(){
$(this).velocity('lixin.pulse');
});
2017-05-20
举报