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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:53:57+00:00 2026-06-05T12:53:57+00:00

There is an issue with my jQuery navigation. It hasn’t got the usual setup

  • 0

There is an issue with my jQuery navigation. It hasn’t got the usual setup of a navigation (ul > li > ul etc).
I’ve got a jsfiddle right here: http://jsfiddle.net/RMRGH/2/

If its more handy to place the code in this topic instead of a jsfiddle, let me know and I’ll paste it in here ;).

The CSS is a bit of a mess, but does the job =).
Because of the underlaying CMS(Joomla) I’m forced to use this setup.

The navigation seems unstable and I dont have enough jQuery-knowledge to figure out why.

When you hover over the items, quite fast from one to another. The menu become impossible to use because it slides up right away. Fiddle with it and you’ll see what I’m talking about (Quite hard to explain).

I’m unable to figure out the source of this problem and how to resolve it. I was hoping you people here at stackoverflow could help me out.

Thanks in advance!

  • 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-06-05T12:53:59+00:00Added an answer on June 5, 2026 at 12:53 pm

    I updated your fiddle: http://jsfiddle.net/RMRGH/6/

    Seems the problem was the missing clearTimeout() in jQuery('#nav li').hover(function(){}..) that caused the timeout to continue even if you hovered the menu again, thus closing it.

    here’s the code:

    jQuery(document).ready(function(){
    
        var timer;
        var hover;
    
        jQuery('.moduletable-subNav > ul').hide();
    
        jQuery('#nav li').hover(
            function(){
                var id = jQuery(this).attr('data-number');
                jQuery('.moduletable-subNav > ul').slideUp();
                jQuery('#submenu-'+id).stop().slideDown();
                clearTimeout(timer);
            },
            function(){
                var id = jQuery(this).attr('data-number');
                timer = setTimeout(function() { jQuery('#submenu-'+id).slideUp(); },1000);
            }
        );
    
        jQuery('.moduletable-subNav ul').hover(
            function(){
                clearTimeout(timer);
            },
            function(){
                var id = jQuery(this).attr('id');
                timer = setTimeout(function() { jQuery('#'+id).slideUp(); },1000);
            }
        );
    });
    ​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a duplicate content issue where there's two instances of my site indexed
There is a well known issue when it comes to using .NET value types
With jQuery Mobile, is there a way that I can have a navigation bar
There is an issue with JQuery UI's bounce effect in both Firefox and IE8
I have developed a jquery mobile application for my site http://tastykhana.in/m there is an
my jquery isn't auto refreshing, with the following code, is there any issue with
My sandbox is here: http://9.latest.truxmap.appspot.com/ First click a marker on the map (if there
Is there a general issue with JQuery or something more specific that is preventing
Is there an issue with replacing the contents of a <span in jQuery. I
There is issue, when Uploadify plugin desn't POST more than 1 parameter. Tried 3

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.