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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:41:13+00:00 2026-06-14T20:41:13+00:00

I built a dropdown menu using a script posted by another stack user, but

  • 0

I built a dropdown menu using a script posted by another stack user, but now im having trouble keeping it visible when i mouse over it.
Here is the website:

http://79.24.150.216/

And you can try hovering “INFO” and then try and hover the menu that displays, and you will see it wont stay visible.

You can find the css at:

http://79.24.150.216/css/main.css

And this is the js snippet used:

$('nav li').on('mouseenter mouseleave hover',function( e ){
$('#'+$(this).data('open'))[e.type=='mouseenter'?'slideDown':'slideUp'](); });

Thank you in advance for your precious help.

  • 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-14T20:41:14+00:00Added an answer on June 14, 2026 at 8:41 pm

    Try this solution.

    $(document).ready(function(){
        $('nav li').on('mouseenter click hover',function( e ){
            var value = $(this).attr('data-open');
            $('#'+value).slideDown();     
        });
    
        $('#subnav ul li').on('mouseleave', function(e){
            var menu = $(this).parent().parent().parent().attr('id');
            $('#'+menu).slideUp();
        });
    });
    

    hope it helps.

    Suggestion: You can defined the submenu with info-submenu so you can dynamically get the right div to load over top menus.

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

Sidebar

Related Questions

I built a Jquery dropdown menu using this tutorial . It works across browsers
i'm trying to built a dropdown menu for a silverlight web application. it should
I've built a menu with Superfish v1.4.8. Everything is fine but I need to
I've built a dropdown menu that uses a slideUp event if the menu itself
I've built a simple dropdown menu to replace some html select menus like so:
I have built a dropdown menu system, everything works when tested independently, the problem
Im trying to build my dropdown menu using the plugin Chosen for Multiple Select
I have built a dropdown/ mega menu that works perfectly when placed in the
I'm new to WPF and I'm trying to build a dropdown menu using the
I've built a simple dropdown menu. The code and demo is here: http://jsfiddle.net/3Lq2d/5/ It

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.