简体   繁体   中英

Twitter Bootstrap - dropdown with div content instead of a list

What's the recommended way to do this?

Here's an example of what I've done http://jsfiddle.net/T9QHw/56/ Normal dropdown on the left, and the div version on the right.

But the div acts a little funny. It closes itself if I click on it, and styles a tags as blocks.

Should I be doing this a different way?

也许您想要使用Popover组件而不是Dropdown组件?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM