What I want is:
when the page loads – the background has color red
after 10 seconds the bgColor changes to green with a fade in fade out animation…
after another 10 seconds it changes to orange….then again to red and so on..
Could someone help
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.
Use setinterval with a callback that changes the background:
You will need to use jQuery UI’s animate function if you want to smoothly cycle between colors.