Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7529937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:46:25+00:00 2026-05-30T04:46:25+00:00

I know there are several other posts with solutions to this, but my current

  • 0

I know there are several other posts with solutions to this, but my current problem is a little different.

I have two events on an element – mouseenter and mouseleave. The first changed the color of my element to light and the other back to dark, this makes a flashing effect.

The problem is when I go in and out a couple of times the events stack and it flashes many times even if no new events are triggered. I would like to prevent that, but .stop() does not help.

Here’s the catch: I would like to trigger 1 flash no matter what, but not more than 1. So when someone moves in / out – the event mouseenter will be fired, after it mouseleave and after it nothing.. until another in / out is triggered.

I guess this could be made by locking (not listening for) new events when in / out is triggered up until the effect has finished, but I don’t know how to do without unbinding and binding it again. Isn’t there any lockEvent() or something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:46:27+00:00Added an answer on May 30, 2026 at 4:46 am

    Have you already used .stop(true) or .stop(true, true)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there are several other posts on this topic but they still leave
I know there are already several other posts for this topic, but I've tried
I know there are several threads and posts regarding this issue in the internet
I know there have been a few threads on this before, but I have
As far as I know, and have gathered from other SO posts, there are
I know, there are several posts with nearly the same question, but all the
I have found several topics with this title, but none of their solutions worked
I know there are several libraries to connect to XMPP servers, but is there
I know there are several posts already concerning the difference between casts and the
I have red several post on this but I haven't seen anything convincing so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.