Questions tagged [mouseenter]

For issues relating to setting up, subscribing to, or handling mouseenter events.

Mouseenter is an event that fires when the user moves the mouse inside of the element you registered the event on.

576 questions
4
votes
1 answer

Backbone - View Element Continually Triggers Mouseenter/Mouseleave

Sorry bout all the code :S The mouseenter/mouseleave binding on the element in HomeIconView continually keeps firing. Firebug runs out of lines for the console output in the mouseenter/mouseleave output. I simply want to achieve a rollover effect. I…
Shane
  • 63
  • 6
3
votes
2 answers

MouseEnter & MouseLeave objectname

I want to add MouseOver and MouseLeave events to dynamical created panels in a flowLayoutPanel. I added all panels in a list named "panels" and they are accessible with "panels[index]". Now I want to dynamical add a MouseOver and MouseLeave event to…
kryptex
  • 33
  • 3
3
votes
2 answers

reactJS framework mouseOver and mouseEnter are not recognised, though onClick works fine

My code: import React, {useState} from 'react'; function HeaderNavbar() { console.log("HeaderNavbar: starting"); var [isMouseEnter, setMouseEnter] = React.useState(0); console.log("HeaderNavbar: isMouseEnter set to [" + isMouseEnter +…
SunbeamRapier
  • 127
  • 2
  • 11
3
votes
1 answer

React onMouseEnter event triggering on child element

I'm assigning an onMouseEnter event to a parent element but the child is the one being triggered with this event. When I write on the console the e.target, it prints the child. How can I prevent this behavior? I have tried the e.stopPropagation(),…
MRN408
  • 39
  • 1
  • 7
3
votes
2 answers

How to target specific elements after mouseenter event?

I have this JS: $(".play").mouseenter(function() { $( ".glitch-img" ).mgGlitch({ // set 'true' to stop the plugin destroy : false, // set 'false' to stop glitching glitch: true, // set 'false' to stop…
ditoje
  • 93
  • 1
  • 2
  • 11
3
votes
2 answers

Handle all Hyperlinks MouseEnter event in a loaded loose Flowdocument

I'm new to WPF, working on my first project. I've been stuck in this problem for a week so I'm trying to find some help here. I have a FlowDocumentReader inside my app, wich loads several FlowDocuments (independent files as loose xaml files). I need…
3
votes
2 answers

How to write these particular lines in MVVM WPF(c#)?

. Console.WriteLine(DateTime.Now.ToLongTimeString()); string name = (sender as Button).Name; I have to convert these two lines to MVVM .The following is my code. ViewModel.cs : public ICommand MouseEnterCommand …
Madhu
  • 101
  • 6
3
votes
2 answers

javascript mouseenter not firing when html onmouseenter does

When using the above code, "mouseenter" and "mouseleave" are fired once at start. "onmouseenter" and "onmouseleave" are fired when expected. How do I make "mouseenter" and "mouseleave" fire when expected ? …
3
votes
3 answers

WPF: MouseEnter doesn't work on several buttons when mouse is pressed

I have a list of toggle-buttons in wpf and I want the user to be able to toggle several buttons by dragging over them. To do this, I used the MouseEnter-Event for each button. This does work, when I press the mousebutton outside the buttons and…
SpeziFish
  • 3,262
  • 2
  • 28
  • 27
3
votes
2 answers

Can mouseenter be made to not fire in IE on DOMready?

jQuery emulates IE's mouseenter event on non-IE browsers. In IE, however, mouseenter is being triggered when the page loads (maybe due to jQuery's use of doScroll in the $.ready implementation), even if the mouse is not moved at all. This doesn't…
Steve Clay
  • 8,671
  • 2
  • 42
  • 48
3
votes
1 answer

Mouseover/mouseenter not fired by browser on animated/moving element

If you have an element that has an animation to move it around, the mouseover and mouseenter events aren't fired unless the mouse is moved by the user. To demonstrate try the block of code below with jQuery. If you put your mouse in front of the…
3
votes
2 answers

animating background colors using jquery

Hello guys so what I am trying to do is to animate a buttons background color using jquery. $(document).ready(function(){ $('button').mouseenter(function(){ $('button').animate({ background-color:"blue"},1000); }); …
3
votes
5 answers

add class to li on hover but remove from all others

I need to add a class to an li on hover but remove the same class from all other lis in the list (this is for a nav). The code I have so far is: jQuery(".navcontent").on('mouseenter', 'li', function() { if (jQuery('.childmenu', this)) { …
user3181912
  • 95
  • 1
  • 7
3
votes
1 answer

Angular mouseenter doesn't work in Chrome

I'm coding my first app in Angular and I came across the problem with mouseenter event. It doesn't work in Chrome at all. Firstly I thought I have a bug in my code but I had checked it in Firefox and everything worked fine. I decided to test some…
elevenMinutes
  • 171
  • 1
  • 4
  • 12
3
votes
4 answers

Java MouseEvents not working

This may be a stupid question, but I have to ask! I have the following code snippets that are supposed to run their corresponding methods when the user interacts with objects. For some reason, "foo" is never printed, but "bar"…
MSpeed
  • 8,153
  • 7
  • 49
  • 61
1 2
3
38 39