steve_gallagher
steve_gallagher

Reputation: 3888

JQuery fadeIn( ) not working - simple example

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.net/GBjxH/

Upvotes: 1

Views: 4735

Answers (2)

Federico Piragua
Federico Piragua

Reputation: 707

Did you put:

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

?

Upvotes: 3

Matti Virkkunen
Matti Virkkunen

Reputation: 65116

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

Upvotes: 3

Related Questions