Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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.

#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()