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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:17:52+00:00 2026-05-26T00:17:52+00:00

We have a header, with username on it. Essentially, for now, the user hovers

  • 0

We have a header, with username on it. Essentially, for now, the user hovers over there username and precariously moves the mouse onto the div to retain focus, and access different account functionality.

But it is crap to be honest, and I wanted to convert it to onclick, ala google style.

Here is a screenpic of what we have.

enter image description here

Here is what I would like to achieve.

enter image description here

Wondering if anyone knows how to do this.

Sample fiddle here: http://jsfiddle.net/ozzy/WkLBF/

Essentially, I want it so user clicks on the name and the div panel displays and remains until they click again.

Any help appreciated, we use jquery if thats any consolation ( this demo uses no javascript at all at present )

  • 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-05-26T00:17:53+00:00Added an answer on May 26, 2026 at 12:17 am

    Well… this will work as far as you have described, but I’m not sure it’s exactly what you want. 😛 Could you expound?

    Demo

    $(".category-filter>li").click(function(){
        $(this).children("ul").toggle();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a login script that does this: $_SESSION['username']=$username; $_SESSION['password']=$password; If the user logged
I have a login page which the user logs in with a username and
I have a form on my website header where i allow the user to
I have this script in my header: if (isset($_COOKIE['username'])) {$_SESSION['username'] = $_COOKIE['username'];} if (isset($_COOKIE['is_logged_in']))
I have a user logged-in header which shows a greeting, a thumbnail of the
Why does C++ have header files and .cpp files?
Based on the response to this question: Why does C++ have header files and
I have a header <h1>My Header</h1> It has a height of 150px and a
I have a header file like this: #ifndef __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__ #define __GEN_NOTE_MARKERS_TO_DEVELOPERS_HPP__ #ifdef _DEBUG //
I have a header.html which start with session_start();. Then the following code, $_SESSION['cart'][$sw_id] is

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.