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
0
votes
1 answer

Make a hover state remain while hovering on submenu items

How would I go about making the :hover state on the top level stay when moused over the submenus in this menu here? It's probably simple but I can't seem to make it work. I have tried doing mouseEnter but I am most likely doing it improperly since I…
0
votes
1 answer

jQuery: mouseenter/mouseleave even stop propagation

I'm using mouseenter and mouseleave events in jquery on an unordered list's
  • to show some image when the mouse goes over them. Here's what that list typically looks like:
  • 0
    votes
    2 answers

    Jquery Event not working after Ajax Pagination

    Below is the code i am working with, i have been using .mouseenter(function () { with no problems... I have been reading that when you use .live() it applies the events to existing & new dom elements but for some reason now the function isnt working…
    0
    votes
    3 answers

    Not having any luck with :hover, either with jquery or css

    Neither seem to work right for me. Starting with query: This causes the opacity to shift down, but it doesnt resume on…
    user1361747
    • 31
    • 2
    • 9
    0
    votes
    1 answer

    datepicker onmouseenter message for disabled dates

    Trying to get some information to the user about disabledDays in datepicker. I want to ideally have a small box show over date when hovered to give info. If that's not possible something like this would do, but I haven't been able to get the event…
    amespower
    • 907
    • 1
    • 11
    • 25
    -1
    votes
    5 answers

    How to Toggle Mouse Hover Event on Click?

    I want to change the color of element on Hover. However I want to disable hover effect while clicking on the element and set the clicked element red. Again if anyone clicks on the element , and I want to enable the Hover effect and apply the hover…
    Ines
    • 1
    • 1
    • 4
    -1
    votes
    1 answer

    Button/Image Switch resource using click, MouseEnter and MouseLeave

    I'm trying to change an image using events like Click, MouseEnter and MouseLeave. In first place I tried to do it with Buttons in order to have "Click" event too, but I don't know how to remove that lightblue background that appears by default when…
    jark
    • 1
    • 1
    -1
    votes
    1 answer

    How to stop mouseenter while an animation is running and moving

    I have an animation running and moving around on mouseenter, this is the code: $(".still").mouseenter(function () { w1.goToAndPlay(0); $("#w1").delay(300); $("#w1").animate({left: '-200px'}, 1700, function() { …
    -1
    votes
    2 answers

    Add delay to "_on" mouseenter

    I want to add a delay on this mouseenter shown below. Can anybody help me with this "_on" method, pls? I tried with setTimeout, but it won't work. This is the code: declareEvents: function () { var me = this, …
    -1
    votes
    1 answer

    WPF MouseEnter event is fired if spacebar is pressed

    I want to handle a buttons MouseEnter event only for mouse actions. So I have to detect if MouseEnter is triggered by mouse or by keyboard. private void button_onMouseEnter(object sender, MouseEventArgs e) { Button button = (Button)sender; …
    Pollitzer
    • 1,580
    • 3
    • 18
    • 28
    -1
    votes
    3 answers

    what is the best way to return the orginal style when mouseleave jquery?

    I use mouseenter to input a new html. I face a challenge that I need to return the original style when mouse leave? When mouseleave, I need to remove the new html and use the original html What is the best way to do that? var eye_disease1 =…
    conan
    • 1,327
    • 1
    • 12
    • 27
    -1
    votes
    1 answer

    Remove class when scrolling up or down

    What I would like to achieve is to remove specific class or hide classes when scrolling up or down (to avoid lag). I have the following code: var $div = $('#div'); $div.on('mouseenter', '.box', function() { …
    Emanradin
    • 9
    • 4
    -1
    votes
    1 answer

    JQuery changeClass on mousenter mouseleave

    I was hoping someone could help with this. I want to change the class of one div from #ron.front to #ron.upperLeft1. When the mouse enters a div .toggle1, then have it change to #ron.upperFull. When the mouse leaves .toggle1 and enters div .toggle2…
    user2636033
    • 23
    • 1
    • 6
    -1
    votes
    3 answers

    mouseenter for dynamically added content

    I have these two events mouseenter() and mouseleave(): $('.tltp').mouseenter(function () { var that = $(this) that.tooltip('show'); console.log("mouseenter event fired"); …
    Quoter
    • 4,236
    • 13
    • 47
    • 69
    -1
    votes
    2 answers

    When items are hovered fast they're not returning to its default state

    With reference to this question When mouseenter on each item, its overlay disappearing, when mouseleave - the overlay shows. When I have more items, and fast hovering on them randomly, they're not returning to it's previous state. It's quite…
    Rafff
    • 1,510
    • 3
    • 19
    • 38
    1 2 3
    38
    39