This is an example of how to use the Bootstrap 3.0 popover on click and hover with settings set both as data-attributes and via Javascript.