Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I am look to create a dropdown menu on logged in username hover. Like on this(codeproject) site when you hover over your username it brings a dropdown menu.

similar example is the linkedin website ..

Please provide some ideas on how to implement this with examples if possible?

Many thanks,
Posted

Hi Spankyleo,

See example[^]

Basically it's mostly a lot of CSS styling to set your desired style and behavior.

Cheers,
Edo
 
Share this answer
 
Comments
spankyleo123 29-Jan-13 12:00pm    
Thanks I'll give it a try.
Herbisaurus 18-Aug-13 2:34am    
Good one
use Flex Level Drop Down Menu at dynemicDrivie Site:

The link is

http://www.dynamicdrive.com/dynamicindex1/flexdropdown.htm[^]
 
Share this answer
 
Please provide some ideas on how to implement this
There can be multiple ways to do it. AFAIK, here at CP, it's CSS driven. Define a hover style for the username. In the style, set display property of the dropdown div element as to display.

Underlying logic is to have a div that is hidden by default. based on some event, you need to show this div. Here, hover is that event that is being used. If you don't want CSS way, you can define onmouseover event for username and then in JavScript, show the needed div. On mouseout, hide it back.

Examples, you yourself posted couple of them in question! Now, try out and post specific issues if you face any.
 
Share this answer
 
Comments
spankyleo123 29-Jan-13 11:59am    
Hi thanks for your reply. I will give it a try.

However by examples I meant..code examples.

Thanks again for your reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900