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.

#188979
Philip1415
Participant

You are correct of course, as it stands the code doesn’t make sense. But as I explained in an earlier post post this is especially written experimental to test what I’m doing wrong. So, I’m seeing what happens when trigger is 1.

The solution is as if often the case obvious – I’d forgotten to include a link to jQuery. Also
if (trigger = 1)should be if (trigger == 1)

Thanks to you both for your input.