In the code there is a fragment that looks like this:

var content = document.getElementById('content');
if (asual.util.Browser.isIE())
{
    var _content = document.getElementById('_content');
    if (_content == null)
    {
        var _content = content.cloneNode(false);
        _content.id = '_content';
        _content.style.position = 'absolute';
        _content.style.top = content.offsetTop;
        _content.style.left = '50%';
        _content.style.width = content.offsetWidth;
        _content.style.marginLeft = -content.offsetWidth/2;
        document.body.appendChild(_content);
    }
    _content.innerHTML = xhr.responseText;
    content.style.height = _content.offsetHeight;
    var preloaderHeight = Math.round(_content.offsetHeight/2) + 60;
    preloader.css('margin-top', preloaderHeight + 'px');
    preloadImages();
}
else
{
    content.innerHTML = xhr.responseText;
    var preloaderHeight = Math.round(content.offsetHeight/2) + 60;
    preloader.css('margin-top', preloaderHeight + 'px');
    preloadImages();
}

Try removing the "if" statement and use only the code in the else
statement.


On Mar 17, 12:11 am, "staffan.estberg" <staffan.estb...@gmail.com>
wrote:
> Hi,
>
> I'm using jQuery on a site that I'm working on and everything works as it
> should - except in Internet Explorer 7 (and previous versions, but the site
> doesn't support them). Fading content on the site simply won't show up in
> this browser. Take a look athttp://dev.staffanestberg.com/fromsweden/
> either in Safari or Firefox, then in IE7 and you'll see what I mean. I'm
> currently using the built-in effect FadeTo for fading the content, but I've
> also tried creating custom effects as well as using both Show/Hide, Animate
> and FadeUp/FadeDown.
> I'm using SWFaddress on this site which might cause a conflict with jQuery,
> but wouldn't that show up in other browsers as well? What am I missing here?
>
> -Staffan
> --
> View this message in 
> context:http://www.nabble.com/Fading-issues-in-Internet-Explorer-7-when-using...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to