$.cssHooks.xxx = {
get: function(elem, computed){
...
},
set: function(elem, value){
...
}
};
$.fx.step.xxx = function(fx){
...
};
[quote]
大于1.7版本可以不用写$.fx.step.xxx方法,在animate中也好用!
[/quote]
$.cssHooks.xxx = {
get: function(elem, computed){
...
},
set: function(elem, value){
...
}
};
$.fx.step.xxx = function(fx){
...
};