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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:21:21+00:00 2026-06-15T10:21:21+00:00

I have this JQ drop down menu and i am trying to get it

  • 0

I have this JQ drop down menu and i am trying to get it to behave properly. it is probably a html css issue. I been playing with it for hours trying to get it to work right and have come to the conclusion i am not doing it right. I want to learn the correct way instead of just making it work. The menu slidetoggle causes the spacing to go haywire and the titles will bounce to make room for the extended menu. When I set heights and withs to make room the titles that dont have the slidetoggle will be on the bottom.

the visable allows me to show/hide for admins

so far i have

<nav>
   <ul>
      <li style="display: inline;"><a href="Loggedin/Search.aspx" class="NavTitle ntAlter">Home</a>
      </li>
      <li style="display: inline;"><a href="Support.aspx" class="NavTitle ntAlter">Support</a>
      </li>
      <li runat="server" id="NavTitle1_wrap" visible="false" class="NavTitle" style="display: inline-block;">
         <span id="NavTitle1"> Items </span>
         <ul style="list-style-type: none;">
            <li><a style="display: none;" class="subMenu1">Add</a></li>
            <li><a style="display: none;" class="subMenu1">Approve</a></li>
            <li><a style="display: none;" class="subMenu1">Update</a></li>
            <li><a style="display: none;" class="subMenu1">Delete</a></li>
         </ul>
      </li>
      <li runat="server" id="NavTitle2_wrap" visible="false" class="NavTitle" style="display: inline-block;">
         <span id="NavTitle2"> Contacts</span>
         <ul style="list-style-type: none;">
            <li><a style="display: none;" class="subMenu2">Add</a></li>
            <li><a style="display: none;" class="subMenu2">Approve</a></li>
            <li><a style="display: none;" class="subMenu2">Update</a></li>
            <li><a style="display: none;" class="subMenu2">Delete</a></li>
         </ul>
      </li>
   </ul>
</nav>

this script

<script type="text/javascript">
    $('#NavTitle1').hover(function () {
        $('.subMenu1').stop(true, true).slideToggle('medium');
    });

    $('#NavTitle2').hover(function () {
        $('.subMenu2').stop(true, true).slideToggle('medium');
    });
</script>
  • 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-15T10:21:21+00:00Added an answer on June 15, 2026 at 10:21 am

    I’d suggest reading about nested lists for navigation. There are a number of articles on this topic. I referenced A List Apart: Suckerfish Dropdowns.

    Here is a working example: http://jsfiddle.net/pHqKC/

    <nav>
       <ul>
          <li><a href="Loggedin/Search.aspx" class="NavTitle ntAlter">Home</a>
          </li>
          <li><a href="Support.aspx" class="NavTitle ntAlter">Support</a>
          </li>
          <li runat="server" id="NavTitle1_wrap" visible="false" class="NavTitle">
             <span id="NavTitle1" class="menu"> Items 
                 <ul class="submenu" style="list-style-type: none;">
                    <li><a>Add</a></li>
                    <li><a>Approve</a></li>
                    <li><a>Update</a></li>
                    <li><a>Delete</a></li>
                 </ul>
             </span>
          </li>
          <li runat="server" id="NavTitle2_wrap" visible="false" class="NavTitle" style="display: inline-block;">
             <span id="NavTitle2" class="menu"> Contacts
                 <ul class="submenu" style="list-style-type: none;">
                    <li><a>Add</a></li>
                    <li><a>Approve</a></li>
                    <li><a>Update</a></li>
                    <li><a>Delete</a></li>
                 </ul>
             </span>
          </li>
       </ul>
    </nav>​
    

    JavaScript:

    $(document).ready(function() {
        $('.menu').hover(
            function() {
                $(this).find('.submenu').show();
            },
            function() {
                $(this).find('.submenu').hide();
            }
        );
    });​
    

    See the CSS on the working link. I’m not sure if this solves your issues but I’d recommend starting simple and working your way up. Don’t worry about fancy slides until you figure out the basics.

    • 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 an embedded video. This video shows and
I have this code which can display drop down in div tag of html.
I am trying to get a sql query to run on drop down menu
learning html/css here. I can't seem to understand how to tweak this drop down
So, basically I have this select / drop down menu that I use AJAX
I have been trying everything I can to get this script to work and
I'm trying to get a 3rd level of flyout/dropdown on this CSS navigation menu.
I'm trying to debug a drop-down menu. I don't have access to the website
I am trying to add a css drop down menu to my blog in
using css menumaker menu found here: http://cssmenumaker.com/menu/grey-impression-drop-down-menu-0 I'm trying to create a 3rd level

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.