Skip to content Skip to sidebar Skip to footer

Bootstrap Popover Parent?

I'm trying to get a popover to be inserted into a specific element, since at the moment, the popover is being insert straight into (and I need it relative to some othe

Solution 1:

You can update your tooltip.js to this file - my tooltip.js and then select the the element you want to the popover to be appened to by either adding data-container=".element" or with javascript

$(element).popover({ container: '.popover-holder' })

Solution 2:

another script for bootstrap partent hover option

https://github.com/sja87/bootstrap-tooltip-parent

Post a Comment for "Bootstrap Popover Parent?"