Home › Forums › JavaScript › Triggering a keyframe animation on a specific js variable value. › Reply To: Triggering a keyframe animation on a specific js variable value.
November 20, 2014 at 8:59 am
#188827
Philip1415
Participant
Thanks for your reply. I agree that a if/else function will be required. There is no variable in the posted code because, as I said, this is just an example of the code I am using to trigger animations on a click event. Ideally I would use this code wrapped in if?else but with something replacing the click()