<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 ---------->
<!-- SUBMITTED to Featured: 1:35pm March 22,2014 -->
<div class="container">
<div class="row">
<!-- this will center a col 6, and 3 on each side -->
<div class="po-markup">
<br>
<a href="http://cnn.com" class="po-link">cnn.com</a>
<div class="po-content hidden">
<div class="po-title">
<img src="http://g.etfv.co/http://www.cnn.com" alt="Google" width="16" height="16" />
Culprits
</div> <!-- ./po-title -->
<div class="po-body">
<p>
CNN.com is among the world's leaders in online news.
CULPRITS
CULPRITS
</p>
</div><!-- ./po-body -->
</div> <!-- ./po-content -->
</div><!-- ./po-markup -->
</div><!-- ./po-markup -->
body{
margin-top:124px;
}
/*
*/
$(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: 'right'
});
});