I am new to BootStrap/jQuery and relatively new to SP 2010 branding.
I am trying to get a popover work in my master page with no luck. I am not sure what I'm missing here. This is the code I'm trying to get working in my page.
HTML:
<div class="well">
<p>
<a href="#" id="hoverOver" class="btn btn-danger " rel="popover"
data-original-title="Example PopOver"
data-content="BootStrapping SharePoint aren't we now!"
data-placement="top">Hover Over Me!
</a>
</p>
</div>
JavaScript:
$(document).ready((function() {
$('#hoverOver').popover();
}
CSS:
.well{
margin-left:40px;
}
JSFIDDLE: http://jsfiddle.net/kKAtN/
I have bootstrap.js, bootstrap.min and jquery-1.8.3.min in the following folder:
C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server extensions\\14\\TEMPLATE\\LAYOUTS\\TwitterBootStrapMasterPage\\js
How would I get the popover to work?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.