Tag Archives: Mootools fade

Mootools FX.Tween: Fade Then Hide An Element

Whenever you come into a point where you need to fade an element then eventually hide it, you need to use a chain. The normal way for a fade is: $(‘myElement’).fade(‘out’); //Fades “myElement” out. $(‘myElement’).fade(0.7); //Fades “myElement” to 70% opacity. And the normal way for setting an element to be Invisible is: $(‘MyElement’).setStyle(‘display’,’none’); And if [...]

Blog WebMastered by All in One Webmaster.
Plugin from the creators of Brindes Personalizados :: More at Plulz Wordpress Plugins