Title: Mouseover Effect between elements
Last modified: November 19, 2018

---

# Mouseover Effect between elements

 *  Resolved [helldiver82](https://wordpress.org/support/users/helldiver82/)
 * (@helldiver82)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/mouseover-effect-between-elements/)
 * Hello,
 * I have following requirement: When mouseover a category, it should start a gif-
   animation (or simpler image-change) in the header-image. When mouseunder, another
   animation needs to be played. So no change around the category-name alone, but
   together with a change in a part of the header image.
 * Is that part of any Theme, Plugin, or 3rd-party Tool like Elementor? Or is it
   possible to find some code here to implement it in the files directly?
 * Thanks for your help! I much appreciate it!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/mouseover-effect-between-elements/#post-10893455)
 * Mouseunder?? Maybe you are thinking of mouseenter? Mouseover and mouseenter are
   almost the same thing (but slightly different in resulting behavior). The proper
   inverse of mouseover is mouseout. There is also mouseenter and mouseleave. I’m
   speaking of JavaScript events. Events in other languages may be somewhat different.
 * Such functionality could be part of a theme or plugin, it would be hit or miss
   unless the specific functionality figures prominently in the module’s promotional
   material. You can add the necessary JavaScript to your site without too much 
   fuss. It depends on how well versed you are with JavaScript and enqueuing scripts
   in WP. Any JavaScript example you can find on the Internet will essentially work
   if it’s properly enqueued into WP. For enqueuing, see [https://developer.wordpress.org/reference/functions/wp_enqueue_script/](https://developer.wordpress.org/reference/functions/wp_enqueue_script/)
 *  Thread Starter [helldiver82](https://wordpress.org/support/users/helldiver82/)
 * (@helldiver82)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/mouseover-effect-between-elements/#post-10894975)
 * Thank you very much for this fast answer! I meant mouseout… never heard about
   other events than mouseover^^ I will check Themes and if needed public available
   javascripts and learn how to enque them.
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Mouseover Effect between elements’ is closed to new replies.

## Tags

 * [gif](https://wordpress.org/support/topic-tag/gif/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [mouseover](https://wordpress.org/support/topic-tag/mouseover/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [helldiver82](https://wordpress.org/support/users/helldiver82/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/mouseover-effect-between-elements/#post-10894975)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
