0

Im using fade in/out jquery on my site but it doesnt work in IE,

banners[0].fadeOut(1000, "linear");
banners[1].fadeIn(1000, "linear");

banners is an array with my elements in.

Ive checked other posts such as

jquery IE Fadein and Fadeout Opacity

Tried all of the suggestions such as setting the filter but no luck. My elements are positioned absolute too.

My fading images are not transparent, they are just jpegs

Any ideas?

Community
  • 1
  • 1
panthro
  • 22,779
  • 66
  • 183
  • 324

1 Answers1

0

Maybe you shuld try different approach by adding different classes to your banners and NOT using array? Or try selecting it by index something like:

  $('.banners').index()===1{
   //do something...
  }

Or maybe even if statment

 if($(".banners")[0] == $(".banners")[0])
 { 
 //do something
 }

Check this fiddle on IE : http://jsfiddle.net/FUMDW/

Dejo Dekic
  • 2,088
  • 4
  • 27
  • 50