user1561108
user1561108

Reputation: 2747

Make a Bootstrap popover modal?

I show a popover manually in javascript but for added emphasis I'd like to make it modal i.e. disable background functionality and fade. Is there an option to do this or how would I go about it manually?

I know it's mixing design metaphors but it would be useful functionality and I can't see restyling modals to adapt to relative positioning being easy.

Upvotes: 6

Views: 13087

Answers (2)

Evgeny Tsaplinov
Evgeny Tsaplinov

Reputation: 21

add

.popover, .tooltip {
    z-index: 1060 !important;
}

to your styles

Upvotes: 2

Nati Krisi
Nati Krisi

Reputation: 1041

take a look at this script, i think this should help u

http://scruffles.github.io/BootstrapModalPopover/

Upvotes: 3

Related Questions