0

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.

Spontifixus
  • 6,570
  • 9
  • 45
  • 63
themacgenius
  • 43
  • 1
  • 4
  • I've had a similar problem with bootstrap tooltip on hover, see [here](http://stackoverflow.com/questions/17737650/bootstrap-tooltip-css-changes-work-in-file-but-not-with-jquery) – jlewkovich Aug 13 '13 at 17:38
  • 2
    Look at your browser console and you'll see. GitHub isn't a CDN – Ian Aug 13 '13 at 17:40
  • Please add at the parts of your code not working. The link to your site you provided will no longer demonstrate the issue once you have solved the problem. Also please don't expect from us to search the whole code of your site for possible problems. – Spontifixus Aug 13 '13 at 17:43
  • 1
    171 saves on jsfiddle... that's a lot. – David Sherret Aug 13 '13 at 17:51

1 Answers1

1

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>

ryan
  • 6,541
  • 5
  • 43
  • 68