开发者

jQuery FadeIn Placement

开发者 https://www.devze.com 2023-02-20 07:26 出处:网络
I\'m using a jQuery function to load external content from another page on my server. I want to add some sleek effects, but I 开发者_运维知识库just kind find where I can place a simple FadeIn.

I'm using a jQuery function to load external content from another page on my server. I want to add some sleek effects, but I 开发者_运维知识库just kind find where I can place a simple FadeIn.

Any help would be great.

function load2() {
     jQuery('#container').load.('mypage.php', function() { });
}

Thanks!


function load2() {
     jQuery('#container').load.('mypage.php', function() { });
       $('#container').hide();
       $('#container').show('slow');

}

This should do the trick

0

精彩评论

暂无评论...
验证码 换一张
取 消