Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Guillermo Sequeira
9,297 PointsHow is it possible to make 'words switch' effect?
I was looking at this website (http://actionsbeyondwords.org/) and was wondering how is it possible to make the effect of words switching. I'm not sure if this is possible with either CSS o JQuery. Thank you for any answer.
3 Answers

Ed Mendoza
9,652 PointsBased on the markup at the link you provided, I believe they are using this jQuery plugin to accomplish the text rotation/flip animations. Text Rotator Plugin

Sean T. Unwin
28,672 PointsThey are using a jQuery plugin called Simple Text Rotator. If you look at the code in the main JavaScript file it creates an array from a comma-separated string (the text inside an element with the class, 'rotate
'). As the text is looped the animation (transition) is done by the script adding custom CSS (there are seven animation setting options).

nicholastillman
8,319 PointsLooks like a plugin.. also using CSS3 animations on the parent div. example link
Guillermo Sequeira
9,297 PointsGuillermo Sequeira
9,297 PointsThank you.