Skip to content

Instantly share code, notes, and snippets.

@styliii
Last active December 12, 2015 06:48
Show Gist options
  • Save styliii/4731543 to your computer and use it in GitHub Desktop.
Save styliii/4731543 to your computer and use it in GitHub Desktop.
for chhay
$('a.cne-google').on('mouseenter', function() {
$('div#cne-google-tooltip').fadeIn();
})
$('#cne-google').mouseleave( function() {
$('#cne-google-tooltip').delay(1000).fadeOut("slow");
})
$('#cne-google-tooltip').mouseenter(function(){
$('a.cne-google').stop();
$(this).mouseleave(function(){
$(this).delay(1000).FadeOut("slow");
})
})
@djbobbydrake
Copy link

You could try

$('#cne-google-tooltip').hover(function() {
$('a.cne-google').show();
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment