Hi
i try to apply a fade in effect
Right now, the effect applies to a div but i want to make it apply to multiple divs.Can i replace the "getElementById "
with
"getElementsByC lassName" to make it work and how?
(because obviously the getElementById doesn't work for multiple tags)
i try to apply a fade in effect
Code:
var fadeEffect=function(){ return{ init:function(id, flag, target){ this.elem = document.getElementById(id);
with
"getElementsByC lassName" to make it work and how?
(because obviously the getElementById doesn't work for multiple tags)
Comment