ImageZoom 1.2, a modal system for Mootools
Posted by jovaniwayne on April 22, 2010
0 comments
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 [...]