
Working example
By: a guest on
Sep 18th, 2012 | syntax:
HTML | size: 0.56 KB | hits: 27 | expires: Never
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test Page</title>
<link href="bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
This is some text.
<a href="#" title="test" rel="tooltip" data-placement="right">this is a link</a> and <a href="#">another</a>
<script src="jquery-1.7.2.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" >
$('[rel=tooltip]').tooltip();
</script>
</body>
</html>