Don't like ads? PRO users don't see any ads ;-)
Guest

Working example

By: a guest on Sep 18th, 2012  |  syntax: HTML  |  size: 0.56 KB  |  hits: 27  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3. <head>
  4. <title>Test Page</title>
  5. <link href="bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
  6. </head>
  7. <body>
  8. This is some text.
  9. <a href="#" title="test" rel="tooltip" data-placement="right">this is a link</a> and <a href="#">another</a>
  10. <script src="jquery-1.7.2.js"></script>
  11. <script src="bootstrap/js/bootstrap.js"></script>
  12. <script type="text/javascript" >
  13. $('[rel=tooltip]').tooltip();
  14. </script>
  15. </body>
  16. </html>