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.

#188909
Philip1415
Participant

Its the ‘do something’ bit I’m stuck on!

I’ve just tried
if (trigger = 1) {
jQuery("#BoxBreath").css('background-color', '#0F6');
};
<code></code>

In some experimental code and that didn’t work