I am trying to make the most simple jQuery slideshow
possible. I made the following fiddle to show my progress
I can’t seem to wrap my head around simultaneously removing
and adding the classes to achieve the desired effect
check it out:
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.
Here’s code that works using CSS3 transitions:
And a working jsFiddle: http://jsfiddle.net/jfriend00/8frVL/
Note: this only adds/removes the class. It doesn’t need to change the position of the images in the DOM (like you were doing).
Using this CSS: