I need to smoothly change the transparency of the element; in FF, CHROME, OPERA seems to change, but IE does not want: it changes only when assigning a style, but with the help of js does not want how to make a smooth change in transparency in IE using js?

    1 answer 1

    if (ie) { // сами определяйте =) el.style.filter = 'progid:DXImageTransform.Microsoft.Alpha(opacity='+Math.round(opacity * 100)+')'; } else el.style.opacity = opacity; // el - элемент // opacity - прозрачность (0..1) 

    Article on the topic

    • I am sorry, I don’t want to change anything ... - Acne