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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:09:31+00:00 2026-06-12T14:09:31+00:00

So I am trying to create a slide down menu where the parent item

  • 0

So I am trying to create a slide down menu where the parent item slides down with the item. The only way I’ve figured to do it is to have the main menu item at the bottom and the sub items on top. This is not preferred but it seems to work.

Right now the problem is that the menu seems to be jumpy/not smooth if you mouse over the wrong part of it. Is there any way to have have the main menu item at top and stop it from being so jumpy?

A jsFiddle is here

Here is the HTML:

<ul>
    <ul>
        <li> Menu 1 </li>
        <li> Menu 2 </li>
    </ul>
        <li> Main Menu Item </li>
</ul>
<ul>
    <ul>
        <li> Menu 1 </li>
        <li> Menu 2 </li>
    </ul>
        <li> Main Menu Item 2 </li>
</ul>

And the CSS:

ul ul li {
    display: none;
}

ul {
    display:inline;
    float:left;
    width:150px;
}

Lastly the jQuery

$("ul").hover(

function() {
    $(this).find('ul li').stop(true, true).slideDown();
}, function() {
    $(this).find('ul li').stop(true, true).slideUp();
}

);

EDIT

So it appears one of the probems is the invalid markup. It was suggested to just use Javascript to move the first li tag to the bottom of the section. I have an example that works on click only of the first li. That fiddle can be found here Ideally I want it to work without click and with valid markup.

Here is the updated JS

    $("ul li:first").click(function() {

  $(this).parent().append($(this));

});

$("ul").hoverIntent(
function() {
    $(this).find('ul li').stop(true, true).slideDown();
}, function() {
     $(this).find('ul li').stop(true, true).slideUp();
}

);​
  • 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-12T14:09:32+00:00Added an answer on June 12, 2026 at 2:09 pm

    It seems the Winner is this JavaScript

    $("ul li:first-child").not("ul li li").hover(function() {
    
      $(this).parent().append($(this));
    
    });   
    
    $("ul").hoverIntent(
    function() {
        $(this).find('ul li').stop(true, true).slideDown();
    }, function() {
         $(this).find('ul li').stop(true, true).slideUp();
    }
    
    ); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a drop-down menu acting as the sub-menu of a main
I am trying to create a menu that slides up from the bottom. It
Hihi, I am trying to create a slide down menu using DIV, but hit
I'm trying to create a 'modal' slide down panel for a page. I have
I am trying to create this dropdown box that slides down and has the
I'm trying to create a footer that will slide from the bottom of the
Eventually I'm trying to create a timed slide show that fades images in and
I'm trying to create a multi-layered menu that has cool sliding / fading-in effects.
I'm trying to create an image map that acts as an up/down incrementer/decrementer control.
I am trying to build a drop-down menu that will show a row to

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.