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 1067621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:10:52+00:00 2026-05-16T20:10:52+00:00

i have created a menu using jQuery n hoverIntent. You can check it here

  • 0

i have created a menu using jQuery n hoverIntent. You can check it here
http://bit.ly/dnAEtt

To see the problem please, hover One then Two then Three then back to Two (please hover a little fast). All sub-menus will open but sub-menu under Two will not open.
This is a strange behavior, when moving forward sub-menus will open when you will move back (like One to Two to Three to Two, Two to Three to Four to Three and so on)
that sub-menu will not open.

Whats going on there?

  • 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-16T20:10:53+00:00Added an answer on May 16, 2026 at 8:10 pm

    Your problem is that the hoverIntent plugin‘s timeout isn’t happening for another full second, so these calls are leaving things in the wrong state:

    $('#nav-bar > ul > li').children('div:visible').slideUp();
    $('#nav-bar > ul > li').children('a').removeClass('current');
    

    You actually need to clear the timers and execute the mouseout handler yourself, like this:

    function outHandler() {
      $(this).children('div').slideUp();
      $(this).children('a').removeClass('current', 450);
    }
    
    $('#nav-bar > ul > li').hoverIntent({
        over: function() {
            $('#nav-bar > ul > li:has(div:visible)').each(function() {
              this.hoverIntent_t = clearTimeout(this.hoverIntent_t);
              this.hoverIntent_s = 0;
              outHandler.call(this);
            });
            $(this).children('div').slideDown('slow');
            $(this).children('a').addClass('current', 250);
        },
        timeout: 1000,
        out: outHandler
    });
    

    I admit it’s a bit messier, but…that’s the result of the plugin not providing a clean method to do this.

    You can see the updated/working version here.

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

Sidebar

Related Questions

I have created a vertical menu on a ASP.NET master page using jQuery. Here
I have created a drop down menu using JQuery but when I test it
I have created a dropdown menu with jquery: here Everything is ok but in
I have created a dynamic dependent menu using a jquery script i found on
I have a menu that I've created using jquery that pops-up on certain button
I have created a jQuery UI navigation menu, using the menubar widget. It works
I have created one menu using div animating in the middle i have structured.
I have created a horizontal menu with 5 tab options using a ul and
I have a horizontal menu bar created using ULs and LIs. The issue I
I have created a jquery plugin to expand/collapse ul,li something like a accordion menu

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.