How can I delay a CSS change in jquery? Here is my code:
$(\"document\").ready(function() { $(\".pressimage img\").mouseenter(function() { $jq(this)
Try this:
$(".pressimage img").mouseleave( function(){ var that = this; setTimeout( function(){ $(that).css('z-index','1'); },500); });