Skip to content

Instantly share code, notes, and snippets.

@drinks
Created August 17, 2010 06:12
Show Gist options
  • Save drinks/528658 to your computer and use it in GitHub Desktop.
Save drinks/528658 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Sample Title</title>
<script type="text/javascript">document.domain = 'localhost.com';</script>
<script src="http://platform.twitter.com/anywhere.js?id=PoUnNSPzXcVYKflGP02Hag&amp;v=1" type="text/javascript"></script>
</head>
<body>
<div id="hovercard">@anywhere</div>
<div id="tweetbox"></div>
<script type="text/javascript">
twttr.anywhere.config({
domain: document.domain
})
twttr.anywhere(function(T){
T('#hovercard').hovercards();
T('#tweetbox').tweetBox();
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment