jQuery thoughtBubble is a small library that creates animated thought bubbles/tooltips.
1. INCLUDE CSS AND JS FILES
<link rel="stylesheet" href="../src/jquery.thoughtBubble.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src='../src/jquery.thoughtBubble.js'></script>
2. HTML
<img src='http://benjamincripps.com/pages/img/about1.png' id="thoughtBubble" alt='whats up?' />
3. JAVASCRIPT
$('#thoughtBubble').thoughtBubble(
text: 'I could go for pizza!',
font: 'avenir'
);
jQuery thoughtBubble
No comments:
Post a Comment