I get content from MySQL database and output it into #content div.
I want that div to be invisible by default, and smoothly appear after the content has loaded.
I know it’s super-easy but for the life of me I can’t remember how to do it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In JQuery you can add
But there are many ways for showing content , you can use
fadeIn("slow"). to give effect.You can also use ajax inside
readyfunction. It all depends on you and the way you wish to fetch data.