0
Mootools : 2secmouseenter
뒤에 morpha.start()
을 얻는 방법?Mootools : 2 초`mouseenter` 후에`morpha.start()`를 얻는 방법은 무엇입니까?
window.addEvent('domready',function() {
var morph = new Fx.Morph('resize',{duration:700,delay:400});
$$('#resize').addEvent('mouseenter',function(e){
e.stop();
morpha.start({
width: '200px',
height: '100px'
});
}//It does not work on adding ',2000' here
);
<div id="resize" class="resize">DIV will get bigger after 2sec on mouseenter</div>
고마워요!
고마워요! 'mouseleave' http://www.jsfiddle.net/hnmJa/에'timer '를 추가합니다. 잘 했니? – Binyamin
추가하는 것이 좋습니다. 그러나 어디에서 취소합니까? –
정말해야합니까? 그래서 작동하지 않습니다 - http://www.jsfiddle.net/hnmJa/1/ – Binyamin