I’m trying to get this script to loop, yet I can’t.
$(document).ready(function inout() {
$('#review1').fadeIn(1500).delay(3500).fadeOut(1500);
$('#review2').delay(3500).fadeIn(1500).delay(3500)
});
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.
If you want review1 to fadeIn, then fadeOut, then review2 to fadeIn, then fadeOut with delays between, you can do it like this;
This uses the jQuery animation completion function in order to link separate animations so one starts after the other completes. These are asynchonous animations so you can’t just use normal sequential programming.