i try to apply a fade in effect
Expand|Select|Wrap|Line Numbers
- var fadeEffect=function(){
- return{
- init:function(id, flag, target){
- this.elem = document.getElementById(id);
with
"getElementsByClassName" to make it work and how?
(because obviously the getElementById doesn't work for multiple tags)