Is there any way to use the fade in/out effect of jQuery while loading a page? I don’t want to have hidden div and I call the fadeIn() method to show those divs. I want the pages to load with such effect. Any solution to that?
So much appreciated !
Is there any way to use the fade in/out effect of jQuery while loading
Share
Desription
You can set the
cssopacity attribute of the whole body to0and then usejQuery animate.I never thought about that, nice question! I have tested it and it works!
Sample
More Information
Update
Keep aware of hidding elements without checking the user has javascript enabled.