Last active
December 16, 2015 12:19
-
-
Save manute/5433788 to your computer and use it in GitHub Desktop.
Simple Twitter Bootstrap Popover
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"></link> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<br/> | |
<a href="#" id="example" class="btn large primary" >click for popover</a> | |
</body> | |
<script type="text/javascript"> | |
$(function () { | |
$('#example').popover({ | |
title: 'Test', | |
content: 'Hello Popover', | |
placement: 'bottom' | |
}); | |
}); | |
</script> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment