简体   繁体   中英

Bootstrap Tooltips - not working at all

I'm trying to implement bootstrap tooltips on my site - you'd think it would be easy enough, but something is not working correctly - the bootstrap tooltip is not functioning.

I'm calling all the right scripts, stylesheets and javascript - I believe. I'm following the example here: http://jsfiddle.net/TSZSL/171/ and I believe this javascript could be throwing me?

$('.example').tooltip();

Here's the page I'm referring to. I just get a regular tooltip with no bootstrap functionality.

The problem is your reference to boostrap's tooltip library. You can't link to it like that; it's not a CDN...

<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tooltip.js"></script> .

Use netdna's complete JS package or host the individual script yourself. See BootstrapCDN .

<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM