jQuery fadeIn IE Png Issue when loading from external

后端 未结 7 842
-上瘾入骨i
-上瘾入骨i 2020-12-10 23:51

I am loading data from external html files within my domain into a div on my webpage using a load content method in jQuery. I take the div out of the new page whilst hiding

7条回答
  •  孤街浪徒
    2020-12-11 00:21

    all you have to do is make the wrapper(style) around the element(#outer(has background png)) fade the opacity to 1.0 in js file. works great!

    ex:

    js file:

    $('#style').fadeIn('slow');
    

    css file:

    #style
    {
        margin:0;
        background:transparent;
        float:left;
    }
    

提交回复
热议问题