HTML and CSS header nav bar question

Hello,
I was playing with bootstrap, doing some tests etc.. I would like instead of using a button in dropdown menu, to use an icon like the icons of glyphicons, when you click on it, you get a dropdown menu, the same idea of facebook, when you click on notification icon, it shows you the menu.. how to achieve that?
adra750Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duy PhamFreelance IT ConsultantCommented:
It's simply a button without label. You can also see that in examples of using glyphicons of Bootstrap: http://getbootstrap.com/components/#glyphicons-examples.
adra750Author Commented:
so you mean that facebook uses button to dropdown the notifications?

I need more answers, let's wait for other experts
thanks anyway
Duy PhamFreelance IT ConsultantCommented:
It could be button, image or anchor, whatever you want to use. Anchors (<a>) are commonly used (Experts-Exchange, LinkedIn, Facebook, etc.). They are just toggle buttons, used to toggle dropdowns, notificates, menus, or any detailed content blocks that meet your needs.

You can easily see the example here in Experts-Exchange in top bar (Search Scopes dropdown - right next to the EE Logo; User menus toggle button - Caret icon right next to the Search button; Or the User menu items also do toggle detailed blocks such as Notifications, Messages, etc.).
adra750Author Commented:
Okay, can you make an example
Duy PhamFreelance IT ConsultantCommented:
See an example here: http://jsfiddle.net/0e4apwk3/.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.