I am working on a website that incorporates various animation effects.
My goal is to activate a gif (animation) when hovered over and have it return to a static state once the cursor is moved away.
When hovering, I want Image1 to disappear and reveal Image2, then after the mouse leaves, Image1 will reappear after 7 seconds.
For example, Image1 shows a TV with curtains. When the mouse hovers over it, Image1 will vanish and display Image2, which will then transition back to Image1 after 7 seconds.
What is the most effective way to achieve this?