jquery fadeIn not working -
Can anyone tell me what I'm doing?
Style:
. Humor {boundary: 1px solid # F0AAAA; Background: #FFBABA; Color: # C90000;} Markup:
& lt; P class = "warning" & gt; A successful authority already exists. At this time more authorities are not allowed. & Lt; / P & gt; Script:
$ (). Ready (function () (warning ($ (".warning") .HTML ()) // WORKS $ (".warning"). Fadein (4000); // does not work}}; < / Pre>
Unless the element is hidden, no fade will occur, you need something like this:
> $ (). Excluded in +, you should use $ (document) or a smaller version, such as: $ (function () {$ (". ") Hide. FadeIn (4000);});
The option element is to give a display: any initially not it is JS-disabled Users may break, or if JavaScript errors may be to prevent fade, then you can try to run clear from this perspective.
Comments
Post a Comment