Articles tagged 'internet explorer'

  • IE and the flash "wmode" madness

    November 23, 2011


    This post was originally published in the Rambling Labs Blog on November 23, 2011.


    One of the reasons that didn’t allow me to release version 0.1.3 of the jQuery Rambilng Slider earlier this week was a really ugly bug with IE, flash and transitions from and image to a flash element and viceversa.

    The problem: There are some transitions on the slider that require an image (or several) to be on top of the flash, so that it fades out and reveals the flash. This works fine on Firefox and Chrome, but when the time arrived, it just didn’t work with IE.

    I did a lot of googling and the only thing that I found over and over again was to include a param tag inside the object tag, with a name of wmode and value of transparent or opaque and to add…

    Continue Reading →

  • jQuery fadeIn and fadeOut: IE bug workaround

    September 26, 2011


    This post was originally published in the Rambling Labs Blog on September 26, 2011.


    I was trying to do some cool effect on a project I’m working on by fading in the front page. The trick looks really nice and it’s easy to implement.

    Just make the body hidden like this:

    <body style="display: none;">
    

    And in the JavaScript file do this:

    $(function(){
      $('body').fadeIn(2000);
    });
    

    Checked it out on Firefox and Chrome. It works perfectly, so smooth. And that’s it!… Or so I thought…

    Checked it out in IE 8 or less and, oh surprise, it doesn’t work. It fades in the background, but the rest of the page is shown with no transparency or fading in at all.

    But why?? Because some elements have a position: relative; or position: absolute; in their…

    Continue Reading →