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 22, 2014 at 8:01 am
#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.