Вопрос

Hi how do you make a div fade in nicely in mootools?

var el = $$('div.img_wrapper');

el.addEvents({
    mouseenter: function(){
        fade in div
    },
    mouseleave: function(){
        fade out div
    }
});

Нет правильного решения

Другие советы

mouseenter: function(){
  this.fade('in');
}, 

//this can't be zero or the mouseenter won't fire
mouseleave: function(){
  this.fade(.001);   
}
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top