Skip to content

Instantly share code, notes, and snippets.

@fearofcode
Created September 7, 2011 00:05
Show Gist options
  • Save fearofcode/1199356 to your computer and use it in GitHub Desktop.
Save fearofcode/1199356 to your computer and use it in GitHub Desktop.
dicking around with tiptip for doing tooltips
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>tiptip test</title>
<link type="text/css" href="tipTip.css" rel="stylesheet" />
<link type="text/css" href="style.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.tipTip.minified.js"></script>
<script type="text/javascript">
$(function(){
$(".tooltip").tipTip({defaultPosition: "top"});
});
</script>
</head>
<body>
<p><br/><br/>Here is a test of using <a href class="tooltip" title="Hello, world">tooltips</a>.</p>
<p>To make this example work properly, download TipTip from <a href="http://code.drewwilson.com/entry/tiptip-jquery-plugin">the TipTip homepage</a>.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment