I\'m trying to make fadeOut effect for a div with pure JavaScript.
div
This is what I\'m currently using:
//Imagin
you can use CSS transition property rather than doing vai timer in javascript. thats more performance oriented compared to what you are doing.
check
http://fvsch.com/code/transition-fade/test5.html#test3