Using Javascript to start a Gif on Hover

Hey peeps,

So I was following the advice listed in this thread

The end goal is for the first, “CupsPrinted” card to load on hover which you can see on this page.

Steps I took:

  1. I created a static and animated Gif
  2. I also followed the steps on this Stackoverflow and put the JS before the tag on the settings of the page

Anyone able to advise?

Hey @jayyoms I hope you were able to find a solution.

I’m posting this here for future readers →

I noticed a bunch of people asking how to do this in the forums, but no tutorials. So I made 3min video + cloneable showing how it can be done:

Video

Link to original post