Skip to content

Instantly share code, notes, and snippets.

@Ravenna
Created October 4, 2013 15:15
Show Gist options
  • Select an option

  • Save Ravenna/6827619 to your computer and use it in GitHub Desktop.

Select an option

Save Ravenna/6827619 to your computer and use it in GitHub Desktop.
$(".row.related-item").hover(function() {
el = $(this);
itemDesc = $(this).find('p.related-item-content');
timeoutId = setTimeout(function() {
itemDesc.stop().slideToggle('fast', 'swing');
}, 900);
}, function(){
clearTimeout(timeoutId);
itemDesc.stop().slideToggle('fast', 'swing');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment