-
Superscript Text with Specific Value(s)
Hey there,
I have some addresses being populated into some text fields via a json file. Sometimes the addresses contain numbered street names (3rd, 21st, etc). I’m looking for a way to determine when the characters “st”, “nd”, “rd” and “th” are being used in the fashion and have them be scaled down and positioned up via a text animator.
My javascript is pretty rudimentary, and I’m not sure how to get the expression to accurately identify these characters. I think it should have something to do with them directly following a number, but how to code that is eluding me.
Thanks for your thoughts!
-zak
_____________________________
Zak Adams | Creative Arts and Production Pastor
The Salvation Army Kroc Center
208.763.0606
http://www.kroccda.org
Sorry, there were no replies found.