-
-
Save salcode/36df77c72c2e2be40686 to your computer and use it in GitHub Desktop.
I find a lot of websites with wonky looking Gravatars on hover. I've written about it at http://salferrarello.com/round-gravatar-hovercard-problem/. The following code when pasted into the Google Chrome Developer Tools console, will trigger the hover state so you can modify the CSS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var gravCloneHtml; | |
jQuery('.grav-hashed').first().trigger('mouseenter'); | |
gravCloneHtml = jQuery('.grav-clone-a')[0].outerHTML; | |
setTimeout( function() { | |
jQuery('.grofile').trigger('mouseleave'); | |
}, 3000 ); | |
setTimeout( function() { | |
jQuery('body').append( gravCloneHtml ); | |
}, 4000 ); | |
}) (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment