Explore the community Forums Lectora Lectora Questions & Answers Change text color in a script … is impossible? Or something? Reply To: Change text color in a script … is impossible? Or something?

#384108 Score: 0
Profile photo of Math Notermans
Math Notermans
Member
contributor
intermediate
advanced
friend finder
junior moderator
advocate
LUC16 Attendee
LUC16
wise owl
curious george
129 pts
@mnotermans5114

Gone one step further and made a sample showing how to use GSAP SplitText to color/animate single words or even characters in a standard Lectora textfield.

Color single word or characters

GSAP SplitText plugin you have to get a Greensock account to use it. You can get this done by Vanilla Javascript, but it quite difficult to get right. And there are so much bonuses with GSAP, i use it daily and love it.