I am trying to fade in a hidden element, and then fade it back out again using mootools.
I can't just use $('my_div').fade('toggle')
, because that assumes the element is always visible, whereas my div starts out with display:none
.
Is there a simple way to combine a fade in/out with a slide in/out or some other way to achieve a nice effect?