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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:45:20+00:00 2026-06-03T19:45:20+00:00

I have a vertical css menu that I want to convert to a dropdown.

  • 0

I have a vertical css menu that I want to convert to a dropdown. I have added some javascript for mouseover to get it to drop down but cannot get it to go away on mouseout.

http://jsfiddle.net/hCVjK/4/

  • 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-03T19:45:22+00:00Added an answer on June 3, 2026 at 7:45 pm

    It’s a tricky problem to solve, especially when you are fading out instead of immediately hiding. You need to keep track of what the mouse is hovering over, and account for the fact that the mouseenter and mouseleave events don’t fire perfectly at the same time as you move from one tag to another.

    Try this out:
    http://jsfiddle.net/cgagliardi/NPVVQ/

    In the HTML, I removed the onMouseOver code you had on categories and moved it into the JS.

    In the CSS, I changed

    #navigation { ... visibility: hidden }
    

    to

    #navigation { ... display: none }
    

    Aside from that, all of the changes are in the javascript. If you want to delay the time it takes for the main menu to fade out, change the 100 value in the setTimeout call.

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

Sidebar

Related Questions

I have a drop down menu with css file and i want to convert
So I have a fairly simple vertical CSS menu based off of UL. <ul
I have a vertical nav menu that is made up of nested lists, however
I want to use jQuery to animate a simple vertical menu that can be
I have this script for my CSS Vertical Menu: //Nested Side Bar Menu (Mar
I have a div that I want to appear on top of some UI
I'm having a Javascript conflict. I have a vertical javascript left nav menu and
I have a vertical CSS sprite menu. I would like to realize a (at
I have a problem with a vertical css menu with 3-level submenus.The last submenu
I have a vertical menu in my system which is basically made of HTML

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.