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

  • Home
  • SEARCH
  • 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 8050075
In Process

The Archive Base Latest Questions

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

I am trying to create a sidebar with categories for my website so when

  • 0

I am trying to create a sidebar with categories for my website so when a user hovers over an item on the sidebar, an additional sub-menu opens up to the right, possibly even a sub-sub-menu. A perfect working example of what I am trying to create can be found on the top left of http://www.ebay.com.

My question is, what is the best way to go about creating this menu? Jquery? CSS/HTML only? Should I use UL + LI elements to create the menu or just divs like the ones below? I was thinking something along the lines of having a hiddin sub-menu div within the initial div that I would ‘show’ on hover, using JQuery, is that a pretty good solution?

I appreciate any suggestions or recommendations on a good way to do this.

<div id="container">
        <div class="menu-item">Cars > (Ford, Chevy, VW)</div>
        <div class="menu-item">Food > (Fruits, Burgers, Veggies)</div>
        <div class="menu-item">Sports > (Soccer, Football, Basketball)</div>
        <div class="menu-item">Movies > (Action, Comedy, Horror) </div>
    </div>
  • 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-05T06:57:57+00:00Added an answer on June 5, 2026 at 6:57 am

    As far as I know this can be done with CSS only. The markup shoud look like:

    <ul>
        <li>Cars
             <ul>
                 <li>Ford</li>
                 <li>Chevy</li>
                 <li>VW</li>
             </ul>    
        </li>
        <li>Food
             <ul>
                 <li>Fruits</li>
                 <li>Burgers</li>
                 <li>Veggies</li>
             </ul>    
        </li>
    </ul>
    

    You can find example CSS here: http://www.cssdrive.com/index.php/examples/exampleitem/css_drop_down_menu/

    • 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 sidebar navigation menu where when you hover over the
I am trying to create a vertical scroll menu in a sidebar of page
I'm trying to create a sidebar which follows the user when he scrolls down
I am trying to create a simple sidebar for my website using jquery and
I'm trying to create a simple markup with header+content+footer+sidebar. The sidebar must float above
I'm trying to create a layout for my website and I'm stuck with this.
I'm trying to create a tabbed sidebar with sections, like the following in WPF.
I'm trying to create a simple toggling sidebar using jquery, where it expands and
i am trying to create a website, a dynamic one. i wanted to know
I'm trying to programmatically create the custom horizontal menu for my custom module, but

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.