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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:41:00+00:00 2026-06-06T02:41:00+00:00

On google homepage, if you click the more button, a menu opens below just

  • 0

On google homepage, if you click the more button, a menu opens below just that button, like this:

google screenshot

How can I do a similar thing with one of the tabs in the navigation bar of my website using css/javascript/jquery?

Edit: To be more specific, I’m wondering how to accomplish the CSS part of this, i.e:

  • How to make an up/down arrow graphic show on the tab when the dropdown is toggled. (i.e when toggled, show down arrow, when not, up arrow). (Rather than just putting an <img> i’d rather use a background-image to toggle the arrows)

  • How to have the new list pop down below the tab and aligned with it.

  • 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-06T02:41:03+00:00Added an answer on June 6, 2026 at 2:41 am

    This is an example for one way this could be done. Of course, you can experiment with diff methods and stuff, but this is a basic working solution.

    A dropdown element to be toggled by clicking a link is pretty good.

    <div id="topBar">
        <a href="#" id="more">More
            <span id="arrow">
                <span id="arrdown">&#x25BC;</span>
                <span id="arrup">&#x25B2;</span>
            </span>
        </a>
        <div class="dropdown">
            <a href="#">One</a>
            <a href="#">Two</a>
            <a href="#">Three</a>
        </div>
    </div>​
    

    Then you make it toggle with a JS click.

    $('#more').click(function() {
        $(this).toggleClass('active');
        $(this).next('.dropdown').toggle();
        return false;
    });
    
    $('.dropdown a').click(function() {
        return false;
    });
    

    css:

    body { background: #fee; font-family: calibri; }
    #topBar { text-align: right; background: black; color: white; padding: 5px; }
    #topBar a { color: white; text-decoration: none; padding: 5px 7px; }
    #topBar a:hover { background: #ddd; color: black; }
    #topBar a.active { background: white; color: black; }
    .dropdown { display: none; position: absolute; right: 5px; background: white; color: black; }
    .dropdown a { display: block; color: black !important; text-decoration: none; padding: 5px 7px; }
    .dropdown a:hover { background: #ccc; }
    #arrup { display: none; }
    #arrow { font-size: 0.6em; }
    

    ​

    Here’s a live example with CSS: http://jsfiddle.net/ZUPBj/

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

Sidebar

Related Questions

I would like to know how this homepage from Google Docs app is build
how do i create a menu like the one that is on the google
So I'd just like help understanding how exactly google analytics collects this info. I
I'm trying to build a Google+ share feature on a website just like the
I'm trying to scrape using Google I'm Feeling Lucky button. For small query like
I am trying replicate auto-complete functionality that you find on the Google homepage. So,
Following are some of the weird snippets that are on the Google homepage..(google.com/ncr that
I have the following code that requests the Google.com homepage and sends the page
I have recently made a new homepage for my company so that employees can
IS it at all possible to set the Google homepage to a file located

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.