解决方法
@H_502_7@element.addEventListener('transitionend',function(event) { alert("CSS Property completed: " + event.propertyName); },false );
There is a single event that is fired when transitions complete.
In all standard-compliant browser,the event istransitionend
,
in WebKit it iswebkitTransitionEnd
.
这是Webkit的小提琴:http://jsfiddle.net/bNgWY/