Dropdown opening with click

Asked

Viewed 44 times

0

how are you?

So, I’m trying to detach from bootstrap in this project that I’m doing (to improve my front-end practices and also because I’ve done a lot of site styles, if I implemented bootstrap would ruin everything). I want to create a dropdown that works with the click, in the same way as the bootstrap, which can be used in any case, and in most, in reality, in all, is very basic. I found this: http://www.w3schools...js_dropdown.Asp, I even implemented to give to use in any case (in various parts of the site, not only in the menu), but the problem is that when you activate two, the two become active, and the idea is only one being active at a time. The other tutorials only serve for menu in a single case. I was wondering if it would be possible to take only "parts" of the bootstrap, since I would not use everything and only weigh the loading of the site. Anyway, any master at the front end who could help? If you were still in doubt, is something like the bar that has the notifications, and messages on facebook, is this behavior...

Thank you in advance!

1 answer

0


within the bootstrap site itself you can disable all resources except the dropdown, follow the link: http://getbootstrap.com/customize/

then just go to the bottom of the page and compile.

  • Thanks Iago, that’s exactly what I was looking for!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.