<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="po-markup">
<br>
<input type="text" class="po-link">
← popover with favicon and HTML coded site information.
<div class="po-content hidden">
<div class="po-body">
<p>
Stiai ca poti cauta si retete direct din aceasta bara?
</p>
</div><!-- ./po-body -->
</div> <!-- ./po-content -->
</div><!-- ./po-markup -->
$(document).ready(function() {
$('.po-markup > .po-link').popover({
trigger: 'hover',
html: true, // must have if HTML is contained in popover
// get the title and conent
title: function() {
return $(this).parent().find('.po-title').html();
},
content: function() {
return $(this).parent().find('.po-body').html();
},
container: 'body',
placement: 'bottom'
});
});