Skip to content

Instantly share code, notes, and snippets.

@nikibrown
Created January 17, 2011 17:50
Show Gist options
  • Save nikibrown/783147 to your computer and use it in GitHub Desktop.
Save nikibrown/783147 to your computer and use it in GitHub Desktop.
...why isnt this working?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- using the jquery get grabatar plugin from here: http://pixelmatrixdesign.com/weblog/comments/announcing_get_gravatar/ -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="http://bostonwebsitemakeover.com/assets/js/gravatar.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function(){
$("#email-address").getGravatar({
avatarSize: 80,
avatarContainer: '#gravatar',
fallback: 'http://bostonwebsitemakeover.com/assets/img/metropolis-creative-footer.png'
});
});
</script>
</head>
<body>
<p id="email-address">niki@metropoliscreative.com</p>
<div id="gravatar"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment