January 10th, 2013, 05:57 PM
FadeOut('slow') not working. <span> just disappears.
EDIT: Nevermind, apparently fadeOut cannot be applied to a span, since it worked when I changed it to <p>.
This should be pretty easy. Can one of you take a look at this code snippet and let me know if you see anything wrong.
Basically, it's a line of text contained in a <span>, and I'd like it to fade away after 4 seconds. Instead, there is no fade effect, it just disappears after 4 seconds.
Last edited by BlackAce; January 10th, 2013 at 06:02 PM.
January 10th, 2013, 10:22 PM
It might be because you do not have the <span> element set to a block level element, as it is a inline element by default. The <p> element is a block level element by default. This is just a guess; but you might could set the <span> element to a block level element and it may fade out, as well.
Originally Posted by BlackAce
Comments on this post