javascript - JQuery fadeIn( ) not working - simple example - Stack Overflow

I've read the docs, but I can't get to the bottom why this example doesn't fade in the d

I've read the docs, but I can't get to the bottom why this example doesn't fade in the div:

$('#application-name-label').fadeIn('slow');

It's a unique id, but the element is just there from the loading of the page, doesn't fade in.

Like this:

/

I've read the docs, but I can't get to the bottom why this example doesn't fade in the div:

$('#application-name-label').fadeIn('slow');

It's a unique id, but the element is just there from the loading of the page, doesn't fade in.

Like this:

http://jsfiddle/GBjxH/

Share asked Oct 8, 2013 at 22:26 steve_gallaghersteve_gallagher 3,9088 gold badges34 silver badges52 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

Did you put:

 #application-name-label {
     display: none;
 }

?

It fades in just fine. If your puter is too slow to load the page, you might not be able to see it. Try .fadeIn(5000) or something.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745072433a4609632.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信