Twitter Bootstrap popover -Image

A typical use of twitter bootstrap's popover to show an image inside the popover :)

by Varun Krishna P

HTML

<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<a href="#" id="blob" class="btn large primary" rel="popover" style="margin-top: 300px">hover for popover</a>

JavaScript

var img = '<img src="https://si0.twimg.com/a/1339639284/images/three_circles/twitter-bird-white-on-blue.png" />';

$("#blob").popover({ title: 'Look!  A bird image!', content: img, html:true });

/*http://stackoverflow.com/questions/11075560/how-do-i-use-popover-from-twitter-bootstrap-to-display-an-image*/