How I can change 2 texts with fadeIn() and fadeOut() jQuery effects?
Here is an example: Apple website.
Below the iPhone image is one box, “Hot News Headlines“. See how the news changes? One text fades in, then fades out, and the second is coming.
I’m new to jQuery so please give detailed code. Thanks!
Let’s say that your html is like this:
You can do something like:
Live example: http://jsfiddle.net/gpQYW/